|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.caleigo.toolkit.tunnel.AbstractTunnel.DefaultPackage
| Field Summary | |
protected int |
mID
|
protected java.lang.Object |
mMessage
|
protected int |
mOriginID
|
protected int |
mSessionID
|
protected int |
mType
|
| Fields inherited from interface org.caleigo.toolkit.tunnel.AbstractTunnel.IPackage |
DATA, ERROR, INFO, PING, REPLY, REQUEST |
| Constructor Summary | |
AbstractTunnel.DefaultPackage(int ID,
int originID,
int type,
java.lang.Object message,
int sessionID)
|
|
AbstractTunnel.DefaultPackage(int ID,
java.lang.Object message,
int sessionID)
|
|
| Method Summary | |
int |
getID()
Returns the unique package ID for this package. |
java.lang.Object |
getMessage()
Returns the encapsulated message. |
int |
getOriginID()
If this IPackage is the reply to a request message, the ID of the request IPackage is returned. |
int |
getSessionID()
Returns the session id that should be used by the server to find the session to use. |
int |
getType()
Returns the type of this IPackage. |
void |
setOriginID(int originID)
Sets the origin id of this IPackage. |
void |
setType(int type)
Sets the type of this IPackage. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int mID
protected int mOriginID
protected int mType
protected java.lang.Object mMessage
protected int mSessionID
| Constructor Detail |
public AbstractTunnel.DefaultPackage(int ID,
java.lang.Object message,
int sessionID)
public AbstractTunnel.DefaultPackage(int ID,
int originID,
int type,
java.lang.Object message,
int sessionID)
| Method Detail |
public java.lang.String toString()
public int getID()
getID in interface AbstractTunnel.IPackagepublic int getOriginID()
getOriginID in interface AbstractTunnel.IPackagepublic void setOriginID(int originID)
setOriginID in interface AbstractTunnel.IPackagepublic int getType()
getType in interface AbstractTunnel.IPackagepublic void setType(int type)
setType in interface AbstractTunnel.IPackagepublic java.lang.Object getMessage()
getMessage in interface AbstractTunnel.IPackagepublic int getSessionID()
getSessionID in interface AbstractTunnel.IPackage
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||