public interface IModifier extends IPlugin
EXTENSION_COMPRESSION, EXTENSION_DISCOVERY, EXTENSION_ENCRYPTION, EXTENSION_ROUTING, EXTENSION_SEMANTIC, EXTENSION_SERIALIZATION, EXTENSION_TRANSCEIVER
Modifier and Type | Method and Description |
---|---|
IStreamConnector |
openSession(IStreamConnector child,
ISession context)
Connects a streaming connector to the specified connector.
|
boolean |
prepareSession(PluginDescription description,
NFCollection collection,
ISession session)
Prepares a session to communicate with the specified target under
the specified requirements.
|
void |
setPluginManager(IPluginManager manager)
Sets the plug-in manager of this plug-in.
|
getPluginDescription, start, stop
void setPluginManager(IPluginManager manager)
manager
- The manager of the plug-in.IStreamConnector openSession(IStreamConnector child, ISession context) throws java.io.IOException
child
- The child connector that the new connector must
connect to.context
- The communication context that provides session
data created by the remote plug-in.java.io.IOException
- Thrown if the connector could not be created.boolean prepareSession(PluginDescription description, NFCollection collection, ISession session)
session
- The session that can be used to negotiate session
specific data and to store local information used to initiate the
communication.collection
- The non-functional requirements.description
- The plug-in description of the remote device.