Package org.ldaptive.transport
Interface Transport
- All Known Implementing Classes:
ConnectionFactoryTransport,ConnectionFactoryTransport.DualThread,ConnectionFactoryTransport.SingleThread,ConnectionTransport,ConnectionTransport.DualThread,ConnectionTransport.SingleThread,NettyConnectionFactoryTransport,NioConnectionFactoryTransport,NioConnectionTransport,NioSingletonTransport,SingletonTransport
public interface Transport
Provides an abstraction layer for different
TransportConnection implementations.-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()Free any resources associated with this transport.Create a connection object.
-
Method Details
-
create
Create a connection object. Implementations should not open a TCP socket in this method.- Parameters:
cc- connection configuration- Returns:
- connection
-
close
default void close()Free any resources associated with this transport.
-