public class ServerReceiver extends Receiver
capacity, displayMask, linkName, maxRetry, mode, operation, partition, pauseTime, propertyName, propertyValue, repeatPeriod, standbyTime, status, timeout, tolerance, uri, waitTime, xaMode
RCVR_CLOSED, RCVR_DISABLED, RCVR_PAUSE, RCVR_READY, RCVR_RETRYING, RCVR_RUNNING, RCVR_STANDBY, RCVR_STOPPED
Constructor and Description |
---|
ServerReceiver(java.util.Map props) |
Modifier and Type | Method and Description |
---|---|
void |
acquire(java.util.Map client)
It continuously reads byte stream from the socket and package
them into JMS Messages.
|
void |
close()
closes all opened resources
|
protected void |
finalize() |
void |
receive(XQueue xq,
int baseTime)
puts all the received JMS messages to the XQueue as the output.
|
void |
respond(java.util.Map client)
It continuously reads byte stream from the socket and package
them into JMS Messages.
|
getCapacity, getLinkName, getName, getOperation, getPartition, getStatus, getXAMode, isStopped, keepRunning, resetStatus, setStatus
public void receive(XQueue xq, int baseTime)
MessageReceiver
receive
in interface MessageReceiver
receive
in class Receiver
public void acquire(java.util.Map client)
public void respond(java.util.Map client)
public void close()
MessageReceiver
close
in interface MessageReceiver
close
in class Receiver
protected void finalize()
finalize
in class java.lang.Object