|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.netxms.base.NXCPMsgWaitQueue
public class NXCPMsgWaitQueue
NXCP message wait queue
| Constructor Summary | |
|---|---|
NXCPMsgWaitQueue(int defaultTimeout)
|
|
NXCPMsgWaitQueue(int defaultTimeout,
int messageLifeTime)
|
|
| Method Summary | |
|---|---|
protected void |
finalize()
Finalize. |
int |
getDefaultTimeout()
|
void |
putMessage(NXCPMessage msg)
Put message into queue. |
void |
shutdown()
Shutdown wait queue. |
NXCPMessage |
waitForMessage(int code,
long id)
Wait for message. |
NXCPMessage |
waitForMessage(int code,
long id,
int timeout)
Wait for message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NXCPMsgWaitQueue(int defaultTimeout,
int messageLifeTime)
defaultTimeout - messageLifeTime - public NXCPMsgWaitQueue(int defaultTimeout)
defaultTimeout - | Method Detail |
|---|
protected void finalize()
finalize in class java.lang.Objectpublic void putMessage(NXCPMessage msg)
msg - NXCP message
public NXCPMessage waitForMessage(int code,
long id,
int timeout)
code - Message codeid - Message idtimeout - Wait timeout in milliseconds
public NXCPMessage waitForMessage(int code,
long id)
code - Message codeid - Message idpublic void shutdown()
public int getDefaultTimeout()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||