Package fr.dyade.aaa.agent
Class SyncNotification.Context
- java.lang.Object
-
- fr.dyade.aaa.agent.SyncNotification.Context
-
- Enclosing class:
- SyncNotification
public static class SyncNotification.Context extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private SyncNotification.Resultresprivate NotificationsyncRequest
-
Constructor Summary
Constructors Constructor Description Context(Notification syncRequest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptiongetException()ObjectgetValue(int index)Object[]invoke(AgentId to, long timeout)voidReturn(Object[] values)voidThrow(Exception exc)voidwakeup()
-
-
-
Field Detail
-
syncRequest
private Notification syncRequest
-
res
private SyncNotification.Result res
-
-
Constructor Detail
-
Context
public Context(Notification syncRequest)
-
-
Method Detail
-
invoke
public final Object[] invoke(AgentId to, long timeout) throws InterruptedException, Exception
- Throws:
InterruptedExceptionException
-
wakeup
public void wakeup()
-
Throw
public void Throw(Exception exc)
-
Return
public void Return(Object[] values)
-
getValue
public Object getValue(int index)
-
getException
public final Exception getException()
-
-