public class PacketReceiver extends Receiver
capacity, displayMask, linkName, maxRetry, mode, operation, partition, pauseTime, propertyName, propertyValue, repeatPeriod, standbyTime, status, timeout, tolerance, uri, waitTime, xaModeRCVR_CLOSED, RCVR_DISABLED, RCVR_PAUSE, RCVR_READY, RCVR_RETRYING, RCVR_RUNNING, RCVR_STANDBY, RCVR_STOPPED| Constructor and Description |
|---|
PacketReceiver(java.util.Map props) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
closes all opened resources
|
protected void |
finalize() |
java.net.InetAddress |
getAddress() |
int |
getPort() |
void |
receive(XQueue xq,
int baseTime)
puts all the received JMS messages to the XQueue as the output.
|
void |
send(java.net.DatagramPacket packet)
for directly sending packet to its destination
|
getCapacity, getLinkName, getName, getOperation, getPartition, getStatus, getXAMode, isStopped, keepRunning, resetStatus, setStatuspublic void receive(XQueue xq, int baseTime)
MessageReceiverreceive in interface MessageReceiverreceive in class Receiverpublic void send(java.net.DatagramPacket packet)
throws java.io.IOException
java.io.IOExceptionpublic java.net.InetAddress getAddress()
public int getPort()
public void close()
MessageReceiverclose in interface MessageReceiverclose in class Receiverprotected void finalize()
finalize in class java.lang.Object