|
|||||||||||
| 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.jgroups.JGroupsTransportChannel
A JGroups implementation of a TransportChannel
| Constructor Summary | |
JGroupsTransportChannel(WireFormat wireFormat,
org.jgroups.Channel channel,
Executor executor)
|
|
| Method Summary | |
void |
asyncSend(Packet packet)
Asynchronously send a Packet |
boolean |
isMulticast()
|
void |
run()
reads packets from a Socket |
void |
start()
start listeneing for events |
void |
stop()
close the channel |
java.lang.String |
toString()
|
protected void |
writePacket(Packet packet)
writes the packet to the channel |
| Methods inherited from class org.codehaus.activemq.transport.AbstractTransportChannel |
addTransportStatusEventListener, doAsyncSend, 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 JGroupsTransportChannel(WireFormat wireFormat,
org.jgroups.Channel channel,
Executor executor)
| Method Detail |
public java.lang.String toString()
public void stop()
stop in interface TransportChannelstop in class AbstractTransportChannel
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 java.lang.Runnable
protected void writePacket(Packet packet)
throws JMSException
JMSException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||