|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.tribe.channel.AbstractReliableFifoChannel
This interface defines a AbstractReliableFifoChannel
Constructor Summary | |
AbstractReliableFifoChannel()
|
Method Summary | |
abstract void |
close()
Closes the channel. |
abstract void |
connect(Address destination)
Connects to the given endpoint. |
abstract Address |
getDestinationAddress()
Get the destination endpoint of this channel. |
abstract Address |
getSourceAddress()
Get the source endpoint of this channel. |
abstract void |
send(ChannelMessage msg)
Sends a message on the channel. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractReliableFifoChannel()
Method Detail |
public abstract void connect(Address destination) throws ChannelException
destination
- endpoint to connect to.
ChannelException
- if an error occurs.public abstract void send(ChannelMessage msg) throws ChannelException, NotConnectedException
msg
- the message to send
ChannelException
- if an error occurs.
NotConnectedException
- if the channel is not connectedpublic abstract void close() throws ChannelException
ChannelException
- if an error occurs.public abstract Address getSourceAddress() throws ChannelException
ChannelException
public abstract Address getDestinationAddress() throws ChannelException
ChannelException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |