Class SharedAsyncConnectionService<ContextT,SocketT>

java.lang.Object
dev.getelements.elements.rt.SharedAsyncConnectionService<ContextT,SocketT>
Type Parameters:
ContextT -
SocketT -
All Implemented Interfaces:
AsyncConnectionService<ContextT,SocketT>

public class SharedAsyncConnectionService<ContextT,SocketT> extends Object implements AsyncConnectionService<ContextT,SocketT>
A type of AsyncConnectionService which uses an internal reference count to ensure that the backed AsyncConnectionService is opened and closed properly. This is mainly intended for testing as production level code should share a single global-instance of AsyncConnectionService