|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ChannelListener | |
---|---|
org.exolab.core.messenger |
Uses of ChannelListener in org.exolab.core.messenger |
---|
Methods in org.exolab.core.messenger with parameters of type ChannelListener | |
---|---|
void |
Connection.accept(java.lang.String name,
ChannelListener listener)
Register a handler to accept a single channel connection for the specified name, and bind the listener to it This method returns immediately. |
void |
ChannelAcceptor.accept(java.lang.String name,
ChannelListener listener)
Accept a single channel connection for the specified name, and bind the listener to it This method returns immediately. |
void |
PacketConnection.accept(java.lang.String name,
ChannelListener listener)
Register a handler to accept a single channel connection for the specified name, and bind the listener to it This method returns immediately. |
void |
Channel.setChannelListener(ChannelListener listener)
Register a listener to process messages asynchronously. Only a single listener may be registered at any one time. Setting the listener to null deregisters the listener.> NOTE: the listener will be invoked in a separate thread - to maintain the single threaded nature of channels, it is an error to call Channel.send(java.lang.Object) , Channel.receive() , or Channel.invoke(java.lang.Object) from any other
thread other than that running the listener, while the listener is
registered. |
void |
PacketChannel.setChannelListener(ChannelListener listener)
Register a listener to process messages asynchronously. Only a single listener may be registered at any one time. Setting the listener to null deregisters the listener.> NOTE: the listener will be invoked in a separate thread - to maintain the single threaded nature of channels, it is an error to call PacketChannel.send(java.lang.Object) , PacketChannel.receive() , or PacketChannel.invoke(java.lang.Object) from any other
thread other than that running the listener, while the listener is
registered. |
Constructors in org.exolab.core.messenger with parameters of type ChannelListener | |
---|---|
ChannelListenerAcceptor(Connection connection,
java.lang.String name,
ChannelListener listener)
Construct a new ChannelListenerAcceptor |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |