|
|||||||||||
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
com.tivoli.twg.libs.SessionHoldCommand
This command allows a "hold" to be placed on the session over which the command is sent, allowing a shared session to be kept open until the service node has released it (or the session inactivity timer expires). The command, if accepted, is processed internally by the target ServiceNode base class (it is not received by ServiceNode subclasses). The target ServiceNode sends a reply with return code 0, causing each IPC transport node in the session path to increment the session hold count. The session hold count is decremented by a SessionReleaseCommand reply. A SessionReleaseCommand reply causes a session to be deleted if the session hold count is not positive. This allows a service node to explicitly free a session to minimize resource useage (e.g., manage a pool of active sessions for mass target operations). Note that held sessions ARE subject to unconditional pruning when their inactivity timer expires.
Field Summary |
---|
Constructor Summary | |
---|---|
SessionHoldCommand()
Constructor for session hold commmand |
|
SessionHoldCommand(CommandCompleteListener ccl)
Constructor for session hold command |
Methods inherited from class com.tivoli.twg.libs.ServiceNodeInternalCommand |
---|
MakeFlatInputBuffer, MakeFlatOutputBuffer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SessionHoldCommand()
public SessionHoldCommand(CommandCompleteListener ccl)
ccl
- - command complete listener
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |