net.sf.beep4j
Interface Listener
- All Superinterfaces:
- Peer
- All Known Implementing Classes:
- MinaListener
public interface Listener
- extends Peer
An interface whose implementations allow to listen for BEEP sessions.
- Author:
- Simon Raess
bind
void bind(java.net.SocketAddress address,
SessionHandlerFactory factory)
throws java.io.IOException
- Binds the given SocketAddress. Whenever a new SessionHandler
is created with the SessionHandlerFactory whenever a new
session is created.
- Parameters:
address
- the addressfactory
- the factory used to create SessionHandlers
- Throws:
java.io.IOException
- if binding the address fails
Copyright © 2007 null. All Rights Reserved.