|
|||||||||||
| 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.tcp.TcpTransportChannel
org.codehaus.activemq.transport.jxta.JxtaTransportChannel
A JXTA implementation of a TransportChannel
| Field Summary |
| Fields inherited from class org.codehaus.activemq.transport.tcp.TcpTransportChannel |
socket |
| Fields inherited from class org.codehaus.activemq.transport.TransportChannelSupport |
pendingStop, transportConnected |
| Constructor Summary | |
JxtaTransportChannel(WireFormat wireFormat,
URI remoteLocation)
Connect to a remote Node - e.g. |
|
JxtaTransportChannel(WireFormat wireFormat,
URI remoteLocation,
URI localLocation)
Connect to a remote Node - e.g. |
|
| Method Summary | |
protected Socket |
createSocket(URI remoteLocation)
Factory method to create a new socket |
protected Socket |
createSocket(URI remoteLocation,
URI localLocation)
Factory method to create a new socket |
String |
toString()
pretty print for object |
| Methods inherited from class org.codehaus.activemq.transport.tcp.TcpTransportChannel |
asyncSend, canProcessWireFormatVersion, doAsyncSend, getCurrentWireFormatVersion, getSocket, getSoTimeout, initialiseSocket, isChangeTimeout, isMulticast, isUseAsyncSend, run, setChangeTimeout, setSoTimeout, setUseAsyncSend, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public JxtaTransportChannel(WireFormat wireFormat,
URI remoteLocation)
throws JMSException
remoteLocation -
JMSException
public JxtaTransportChannel(WireFormat wireFormat,
URI remoteLocation,
URI localLocation)
throws JMSException
remoteLocation - localLocation - -
e.g. local InetAddress and local port
JMSException| Method Detail |
public String toString()
toString in class TcpTransportChannel
protected Socket createSocket(URI remoteLocation)
throws UnknownHostException,
IOException
TcpTransportChannel
createSocket in class TcpTransportChannelremoteLocation - the URI to connect to
IOException
UnknownHostException
protected Socket createSocket(URI remoteLocation,
URI localLocation)
throws IOException,
UnknownHostException
TcpTransportChannel
createSocket in class TcpTransportChannelremoteLocation - localLocation -
UnknownHostException
IOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||