|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.activemq.transport.AbstractTransportChannel
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 |
Constructor Summary | |
JxtaTransportChannel(WireFormat wireFormat,
java.net.URI remoteLocation)
Connect to a remote Node - e.g. |
|
JxtaTransportChannel(WireFormat wireFormat,
java.net.URI remoteLocation,
java.net.URI localLocation)
Connect to a remote Node - e.g. |
Method Summary | |
protected java.net.Socket |
createSocket(java.net.URI remoteLocation)
Factory method to create a new socket |
protected java.net.Socket |
createSocket(java.net.URI remoteLocation,
java.net.URI localLocation)
Factory method to create a new socket |
java.lang.String |
toString()
pretty print for object |
Methods inherited from class org.codehaus.activemq.transport.tcp.TcpTransportChannel |
asyncSend, doAsyncSend, isMulticast, run, start, stop |
Methods inherited from class org.codehaus.activemq.transport.AbstractTransportChannel |
addTransportStatusEventListener, doConsumePacket, doHandleReceipt, fireStatusEvent, fireStatusEvent, getClientID, getExceptionListener, getPacketListener, getTransportChannelListener, onAsyncException, removeTransportStatusEventListener, send, send, setClientID, setExceptionListener, setPacketListener, setTransportChannelListener, stopExecutor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JxtaTransportChannel(WireFormat wireFormat, java.net.URI remoteLocation) throws JMSException
remoteLocation
-
JMSException
public JxtaTransportChannel(WireFormat wireFormat, java.net.URI remoteLocation, java.net.URI localLocation) throws JMSException
remoteLocation
- localLocation
- -
e.g. local InetAddress and local port
JMSException
Method Detail |
public java.lang.String toString()
toString
in class TcpTransportChannel
protected java.net.Socket createSocket(java.net.URI remoteLocation) throws java.net.UnknownHostException, java.io.IOException
TcpTransportChannel
createSocket
in class TcpTransportChannel
remoteLocation
- the URI to connect to
java.io.IOException
java.net.UnknownHostException
protected java.net.Socket createSocket(java.net.URI remoteLocation, java.net.URI localLocation) throws java.io.IOException, java.net.UnknownHostException
TcpTransportChannel
createSocket
in class TcpTransportChannel
remoteLocation
- localLocation
-
java.io.IOException
java.net.UnknownHostException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |