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 differentTransportConnection
implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
close()
Free any resources associated with this transport.Connection
create(ConnectionConfig cc)
Create a connection object.
-
-
-
Method Detail
-
create
Connection create(ConnectionConfig cc)
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.
-
-