|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.instrumentmiddleware.cima.parcel.impl.RegisteredParcel
public class RegisteredParcel
A Counting parcel is a proxy for a Parcel and also implements ICountingParcel. This is to allow a Parcel to keep track of how many (and who) are interested in receiving this parcel. There is also a timeout associated with the parcel so that the system won't keep it for longer than the timeout period.
| Method Summary | |
|---|---|
void |
addSession(ISession session)
|
static IRegisteredParcel |
createRegisteredParcel(org.instrumentmiddleware.cima.parcel.ParcelDocument.Parcel p)
Factory method for obtaining a RegisteredParcel |
org.instrumentmiddleware.cima.parcel.ParcelDocument.Parcel |
getParcel()
Grab the underlying parcel - this should probably be removed |
java.util.List<ISession> |
getRegisteredSessions()
|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
see InvocationHandler.invoke() |
void |
removeSession(ISession session)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public org.instrumentmiddleware.cima.parcel.ParcelDocument.Parcel getParcel()
public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
invoke in interface java.lang.reflect.InvocationHandlerjava.lang.Throwablepublic static IRegisteredParcel createRegisteredParcel(org.instrumentmiddleware.cima.parcel.ParcelDocument.Parcel p)
p -
public void addSession(ISession session)
addSession in interface ICIMARegisteredParcelpublic void removeSession(ISession session)
removeSession in interface ICIMARegisteredParcelpublic java.util.List<ISession> getRegisteredSessions()
getRegisteredSessions in interface ICIMARegisteredParcelpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||