fr.dyade.aaa.agent
Class SyncNotification

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

public class SyncNotification
extends Notification

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

See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.dyade.aaa.agent.Notification
persistent
 
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, setContext, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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 ? 2004 Scalagent - All rights reserved