fr.dyade.aaa.agent
Class SyncNotification

java.lang.Object
  extended by fr.dyade.aaa.agent.Notification
      extended by fr.dyade.aaa.agent.SyncNotification
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
GetConnectionNot, GetProxyIdListNot, GetProxyIdNot, GetRequestIdNot, OpenConnectionNot

public class SyncNotification
extends Notification

This notification is used to synchronously call a local agent from a collocated thread.

See Also:
Serialized Form

Nested Class Summary
static class SyncNotification.Context
           
(package private) static class SyncNotification.Result
           
 
Field Summary
private  SyncNotification.Context ctx
           
private static long serialVersionUID
          define serialVersionUID for interoperability
 
Fields inherited from class fr.dyade.aaa.agent.Notification
deadNotificationAgentId, detachable, detached, expiration, messageId, persistent, priority
 
Constructor Summary
protected SyncNotification()
           
 
Method Summary
 java.lang.Exception getException()
           
 java.lang.Object getValue(int index)
           
 java.lang.Object[] invoke(AgentId to)
           
 void Return(java.lang.Object[] values)
           
 void Throw(java.lang.Exception exc)
           
 
Methods inherited from class fr.dyade.aaa.agent.Notification
clone, getContext, getDeadNotificationAgentId, getExpiration, getMessageId, getPriority, isPersistent, setContext, setDeadNotificationAgentId, setExpiration, setPriority, toString, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
define serialVersionUID for interoperability

See Also:
Constant Field Values

ctx

private transient SyncNotification.Context ctx
Constructor Detail

SyncNotification

protected SyncNotification()
Method Detail

invoke

public java.lang.Object[] invoke(AgentId to)
                          throws java.lang.InterruptedException,
                                 java.lang.Exception
Throws:
java.lang.InterruptedException
java.lang.Exception

Throw

public void Throw(java.lang.Exception exc)

Return

public void Return(java.lang.Object[] values)

getValue

public java.lang.Object getValue(int index)

getException

public final java.lang.Exception getException()


Copyright © 2010 ScalAgent D.T.. All Rights Reserved.