Package com.adaptris.core
Class NoOpConnection
java.lang.Object
com.adaptris.core.AdaptrisConnectionImp
com.adaptris.core.NoOpConnection
- All Implemented Interfaces:
AdaptrisComponent
,AdaptrisConnection
,ComponentLifecycle
,ComponentLifecycleExtension
,StateManagedComponent
- Direct Known Subclasses:
FileTransferConnection
,NullConnection
Base Implementation of a no-op connection.
-
Field Summary
Fields inherited from class com.adaptris.core.AdaptrisConnectionImp
log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Close the underlying connection.protected void
Initialise the underlying connection.protected void
protected void
Start the underlying connection.protected void
Stop the underlying connection.Methods inherited from class com.adaptris.core.AdaptrisConnectionImp
addExceptionListener, addMessageConsumer, addMessageProducer, changeState, cloneForTesting, close, connectionErrorHandler, getConnectionErrorHandler, getUniqueId, getWorkersFirstOnShutdown, init, prepare, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, retrieveConnection, retrieveExceptionListeners, retrieveMessageConsumers, retrieveMessageProducers, setConnectionErrorHandler, setUniqueId, setWorkersFirstOnShutdown, start, stop, workersFirstOnShutdown
-
Constructor Details
-
NoOpConnection
public NoOpConnection() -
NoOpConnection
-
-
Method Details
-
initConnection
Description copied from class:AdaptrisConnectionImp
Initialise the underlying connection.- Specified by:
initConnection
in classAdaptrisConnectionImp
- Throws:
CoreException
- wrapping any exception.
-
startConnection
Description copied from class:AdaptrisConnectionImp
Start the underlying connection.- Specified by:
startConnection
in classAdaptrisConnectionImp
- Throws:
CoreException
- wrapping any exception.- See Also:
-
stopConnection
protected void stopConnection()Description copied from class:AdaptrisConnectionImp
Stop the underlying connection.- Specified by:
stopConnection
in classAdaptrisConnectionImp
- See Also:
-
closeConnection
protected void closeConnection()Description copied from class:AdaptrisConnectionImp
Close the underlying connection.- Specified by:
closeConnection
in classAdaptrisConnectionImp
- See Also:
-
prepareConnection
- Specified by:
prepareConnection
in classAdaptrisConnectionImp
- Throws:
CoreException
-