|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.libs.Command
com.tivoli.twg.libs.ServiceNodeInternalCommand
Instances of this special command class may be sent to any service node to cause the service node to internally receive the command and send a reply with return code 0. "Internally receive" refers to the fact that the ServiceNode base class always receives the command and sends the reply - the subclass is not aware when the command is received and processed. This command class is useful for transporting session management controls (session hold and session release) to a remote service node without having to implement anything explicit in the remote service node subclass (because the ServiceNode base class processes the command internally). Subclasses SessionHoldCommand and SessionReleaseCommand are provided as a convenience - others are possible (e.g., session preferred mode).
Field Summary |
---|
Constructor Summary | |
---|---|
ServiceNodeInternalCommand(long cmd_code)
Constructor for service node internal commmand |
|
ServiceNodeInternalCommand(long cmd_code,
CommandCompleteListener ccl)
Constructor for service node internal command |
Method Summary | |
---|---|
byte[] |
MakeFlatInputBuffer(int offset)
Build a flat input buffer, and return as a byte array. |
byte[] |
MakeFlatOutputBuffer(int offset)
Build a flat output buffer, and return as a byte array. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ServiceNodeInternalCommand(long cmd_code)
public ServiceNodeInternalCommand(long cmd_code, CommandCompleteListener ccl)
ccl
- - command complete listenerMethod Detail |
public byte[] MakeFlatOutputBuffer(int offset)
MakeFlatOutputBuffer
in class Command
offset
- - offset in byte array of start of output buffer
public byte[] MakeFlatInputBuffer(int offset)
MakeFlatInputBuffer
in class Command
offset
- - offset in byte array of start of output buffer
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |