org.littleshoot.util
Interface ConnectionEstablisher<T,ServerT>
- Type Parameters:
T - The type of the object that identifies a server.ServerT - The type of the object that represents a connection to a server.
public interface ConnectionEstablisher<T,ServerT>
The interface to an object responsible for establishing connections to
servers.
establish
void establish(T serverId,
ConnectionMaintainerListener<ServerT> listener)
- Establishes a connection to a given server.
- Parameters:
serverId - The identifier of the server.listener - The listener to be notified of connection events.
Copyright © 2011-2013 LittleShoot. All Rights Reserved.