|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An IPackage represents a package that is sent by an ITunnel. It encapsulates the actual message and provides extra information needed by the ITunnel.
| Field Summary | |
static int |
DATA
|
static int |
ERROR
|
static int |
INFO
|
static int |
PING
|
static int |
REPLY
|
static int |
REQUEST
|
| 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. |
| Field Detail |
public static final int PING
public static final int ERROR
public static final int INFO
public static final int REQUEST
public static final int REPLY
public static final int DATA
| Method Detail |
public int getID()
public int getOriginID()
public void setOriginID(int originID)
public int getType()
public void setType(int type)
public java.lang.Object getMessage()
public int getSessionID()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||