|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.iids.aos.kernel.ac.Shipment
public class Shipment
Class representing all aspects of an ACTP transaction in progress.
| Field Summary | |
|---|---|
protected int |
acid
If sucessfull, the AgentContainer ID of shipment |
protected int |
currentSize
Size of shipment |
protected KernelException |
exception
Set if shipment encountered a problem |
protected TransactionID |
receivedTID
Transaction ID of the shipment actually received. |
protected long |
shipmentExpiryTime
Before what time should a shipment be collected |
protected Endpoint |
sourceEndpoint
Source of shipment |
protected long |
tidExpiryTime
Expiry time of the receivedTID according to receiver admin |
| Constructor Summary | |
|---|---|
Shipment()
Creates a shipment object. |
|
| Method Summary | |
|---|---|
int |
getACID()
|
int |
getCurrentSize()
|
KernelException |
getException()
|
TransactionID |
getReceivedTID()
|
Endpoint |
getSourceEndpoint()
|
long |
getTIDExpiryTime()
|
boolean |
isGarbage()
|
void |
setACID(int acid)
|
void |
setCurrentSize(int currentSize)
|
void |
setException(KernelException exception)
|
void |
setReceivedTID(TransactionID tid)
|
void |
setSourceEndpoint(Endpoint ep)
|
void |
setTIDExpiryTime(long tidExpiryTime)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected KernelException exception
protected int acid
protected TransactionID receivedTID
protected Endpoint sourceEndpoint
protected int currentSize
protected long tidExpiryTime
protected long shipmentExpiryTime
| Constructor Detail |
|---|
public Shipment()
| Method Detail |
|---|
public void setException(KernelException exception)
public KernelException getException()
public void setACID(int acid)
public int getACID()
public void setReceivedTID(TransactionID tid)
public TransactionID getReceivedTID()
public void setSourceEndpoint(Endpoint ep)
public Endpoint getSourceEndpoint()
public void setCurrentSize(int currentSize)
public int getCurrentSize()
public boolean isGarbage()
public void setTIDExpiryTime(long tidExpiryTime)
public long getTIDExpiryTime()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||