public interface ConnectivityPlugin
Codec
,
Transport
Modifier and Type | Method and Description |
---|---|
void |
hostReady()
Signals that the host is ready to start receiving events.
|
void |
shutdown()
Release any resources created by the connectivity plug-in, and terminate and join any background threads.
|
void |
start()
Called when an entire chain has been created and the host
is ready to deal with events.
|
void start() throws java.lang.Exception
java.lang.Exception
- only if a fatal error occurred during startup.void shutdown() throws java.lang.Exception
The host will call this before shutdown.
This method will never be called more than once on this instance. Implementations should ensure they work correctly even if the start() method was not called.
If the plug-in is blocked waiting to send a message it should attempt to cancel the operation when this method is called, and if possible should avoid returning from this method until all outstanding operations and threads have completed.
java.lang.Exception
void hostReady() throws java.lang.Exception
java.lang.Exception
Submit a bug or feature
Copyright (c) 2013-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.