|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.codehaus.activemq.transport.TransportChannelSupport
org.codehaus.activemq.transport.jrms.JRMSTransportChannel
A JRMS implementation of a TransportChannel
| Field Summary |
| Fields inherited from class org.codehaus.activemq.transport.TransportChannelSupport |
pendingStop, transportConnected |
| Constructor Summary | |
protected |
JRMSTransportChannel(WireFormat wireFormat)
Construct basic helpers |
|
JRMSTransportChannel(WireFormat wireFormat,
URI remoteLocation)
Connect to a remote Node - e.g. |
| Method Summary | |
void |
asyncSend(Packet packet)
Asynchronously send a Packet |
boolean |
canProcessWireFormatVersion(int version)
Can this wireformat process packets of this version |
protected DatagramPacket |
createDatagramPacket()
|
protected DatagramPacket |
createDatagramPacket(Packet packet)
|
int |
getCurrentWireFormatVersion()
|
boolean |
isMulticast()
|
void |
run()
reads packets from a Socket |
void |
start()
start listeneing for events |
void |
stop()
close the channel |
String |
toString()
pretty print for object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected JRMSTransportChannel(WireFormat wireFormat)
public JRMSTransportChannel(WireFormat wireFormat,
URI remoteLocation)
throws JMSException
remoteLocation -
JMSException| Method Detail |
public void stop()
stop in interface TransportChannelstop in class TransportChannelSupport
public void start()
throws JMSException
start in interface TransportChannelJMSException - if an error occurs
public void asyncSend(Packet packet)
throws JMSException
asyncSend in interface TransportChannelpacket -
JMSExceptionpublic boolean isMulticast()
isMulticast in interface TransportChannelpublic void run()
run in interface Runnablepublic boolean canProcessWireFormatVersion(int version)
canProcessWireFormatVersion in interface TransportChannelversion - the version number to test
public int getCurrentWireFormatVersion()
getCurrentWireFormatVersion in interface TransportChannelprotected DatagramPacket createDatagramPacket()
protected DatagramPacket createDatagramPacket(Packet packet)
throws IOException,
JMSException
IOException
JMSExceptionpublic String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||