|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.tribe.channel.AbstractServerChannel
This class defines a AbstractServerChannel to accept new connections.
Constructor Summary | |
AbstractServerChannel()
|
Method Summary | |
abstract AbstractReliableFifoChannel |
accept()
Accepts a new incoming connection. |
abstract void |
bind(Address source)
Binds a source address |
abstract void |
close()
Closes the serverSocket. |
abstract Address |
getBindAddress()
Get the address on which this channel is bound. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractServerChannel()
Method Detail |
public abstract void bind(Address source) throws ChannelException
source
- source address to bind
ChannelException
- if an error occurspublic abstract AbstractReliableFifoChannel accept() throws ChannelException
ChannelException
- if an error occurspublic abstract Address getBindAddress() throws NotConnectedException
NotConnectedException
- if the channel is not connected.public abstract void close() throws ChannelException
ChannelException
- if an error occurs.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |