org.iids.aos.kernel
Class AOSapi.WaitACResult

java.lang.Object
  extended by org.iids.aos.kernel.AOSapi.WaitACResult
All Implemented Interfaces:
java.io.Serializable
Enclosing interface:
AOSapi

public static class AOSapi.WaitACResult
extends java.lang.Object
implements java.io.Serializable

Return value of waitAgentContainer().

See Also:
Serialized Form

Field Summary
 int acid
          If no exception, the ACID of the received Agent Container
 KernelException e
          If not null, waitAgentContainer() encountered an exception.
 Endpoint sourceEndpoint
          If no exception, the virtual endpoint from which this AOS kernel accepted the agent container;
 TransactionID tid
          If not null, the transaction ID of the agent container shipment.
 
Constructor Summary
AOSapi.WaitACResult(KernelException e, TransactionID tid, int acid, Endpoint sourceEndpoint)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

e

public KernelException e
If not null, waitAgentContainer() encountered an exception. In this case, tid may be set to the ID of the transaction that caused the error. We use this method rather than extending all kernel exceptions with a tid paramter, because waitAgentContainer() is the only primitive to return extra data (the tid) on error.


tid

public TransactionID tid
If not null, the transaction ID of the agent container shipment. If both exception and tid are null, the block time passed without an AC becoming available.


acid

public int acid
If no exception, the ACID of the received Agent Container


sourceEndpoint

public Endpoint sourceEndpoint
If no exception, the virtual endpoint from which this AOS kernel accepted the agent container;

Constructor Detail

AOSapi.WaitACResult

public AOSapi.WaitACResult(KernelException e,
                           TransactionID tid,
                           int acid,
                           Endpoint sourceEndpoint)


Copyright © 2003, 2004 IIDS Group. All Rights Reserved.