net.sf.beep4j
Interface Initiator
- All Superinterfaces:
- Peer
- All Known Implementing Classes:
- MinaInitiator
public interface Initiator
- extends Peer
An interface whose implementations allow to initiate BEEP sessions.
The connect methods connect to a remote peer identified by a
SocketAddress. The SessionHandler receives callbacks for important
moments in the lifecycle of the session.
- Author:
- Simon Raess
Method Summary |
void |
connect(java.net.SocketAddress address,
SessionHandler handler)
Tries to establish a session to the peer specified by the given
address. |
connect
void connect(java.net.SocketAddress address,
SessionHandler handler)
- Tries to establish a session to the peer specified by the given
address. The SessionHandler receives call backs as certain events
in the session life cycle are reached.
- Parameters:
address
- the address of the peerhandler
- the handler callback
Copyright © 2007 null. All Rights Reserved.