|
||||||||||
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.ember.EmberTransportChannel
An EmberIO (using NIO) implementation of a TransportChannel
Field Summary |
Fields inherited from class org.codehaus.activemq.transport.TransportChannelSupport |
pendingStop, transportConnected |
Constructor Summary | |
protected |
EmberTransportChannel(org.codehaus.activemq.io.WireFormat wireFormat)
Construct basic helpers |
|
EmberTransportChannel(org.codehaus.activemq.io.WireFormat wireFormat,
pyrasun.eio.EIOGlobalContext context,
pyrasun.eio.services.EmberServiceController controller,
pyrasun.eio.services.bytearray.ByteArrayServerClient client)
Connect to a remote Node - e.g. |
Method Summary | |
void |
asyncSend(org.codehaus.activemq.message.Packet packet)
Asynchronously send a Packet |
boolean |
canProcessWireFormatVersion(int version)
Can this wireformat process packets of this version |
protected JMSException |
createJMSException(String message,
Exception ex)
Factory method to create a JMSException which is linked to the base exception |
void |
forceDisconnect()
|
int |
getCurrentWireFormatVersion()
|
boolean |
isMulticast()
|
void |
newMessage(pyrasun.eio.services.bytearray.ByteArrayServerClient client,
Object msg)
|
void |
start()
start listeneing for events |
void |
stop()
close the channel |
String |
toString()
pretty print for object |
Methods inherited from class org.codehaus.activemq.transport.TransportChannelSupport |
addTransportStatusEventListener, asyncSendWithReceipt, doAsyncSend, doConsumePacket, doConsumePacket, doHandleReceipt, doHandleWireFormat, fireStatusEvent, fireStatusEvent, getClientID, getEmbeddedBrokerConnector, getExceptionListener, getLastReceiptTimestamp, getPacketListener, getTransportChannelListener, isPendingStop, isServerSide, isTransportConnected, onAsyncException, removeTransportStatusEventListener, requiresEmbeddedBroker, send, send, setClientID, setExceptionListener, setPacketListener, setPendingStop, setServerSide, setTransportChannelListener, setTransportConnected, stopExecutor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected EmberTransportChannel(org.codehaus.activemq.io.WireFormat wireFormat)
public EmberTransportChannel(org.codehaus.activemq.io.WireFormat wireFormat, pyrasun.eio.EIOGlobalContext context, pyrasun.eio.services.EmberServiceController controller, pyrasun.eio.services.bytearray.ByteArrayServerClient client)
Method Detail |
public void stop()
stop
in interface org.codehaus.activemq.transport.TransportChannel
public void forceDisconnect()
forceDisconnect
in interface org.codehaus.activemq.transport.TransportChannel
public void start() throws JMSException
start
in interface org.codehaus.activemq.transport.TransportChannel
JMSException
- if an error occurspublic void asyncSend(org.codehaus.activemq.message.Packet packet) throws JMSException
asyncSend
in interface org.codehaus.activemq.transport.TransportChannel
packet
-
JMSException
public boolean isMulticast()
isMulticast
in interface org.codehaus.activemq.transport.TransportChannel
protected JMSException createJMSException(String message, Exception ex)
public String toString()
public void newMessage(pyrasun.eio.services.bytearray.ByteArrayServerClient client, Object msg)
newMessage
in interface pyrasun.eio.services.bytearray.ByteArrayServerClientListener
public boolean canProcessWireFormatVersion(int version)
canProcessWireFormatVersion
in interface org.codehaus.activemq.transport.TransportChannel
version
- the version number to test
public int getCurrentWireFormatVersion()
getCurrentWireFormatVersion
in interface org.codehaus.activemq.transport.TransportChannel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |