public interface ISemantic extends IPlugin, IDispatcher
EXTENSION_COMPRESSION, EXTENSION_DISCOVERY, EXTENSION_ENCRYPTION, EXTENSION_ROUTING, EXTENSION_SEMANTIC, EXTENSION_SERIALIZATION, EXTENSION_TRANSCEIVER
Modifier and Type | Method and Description |
---|---|
void |
performOutgoing(Invocation invocation,
ISession session)
Tells the semantic plug-in to perform the specified invocation under
the specified session context.
|
boolean |
prepareSession(PluginDescription d,
NFCollection c,
ISession s)
Prepares a session to communicate with the specified target under
the specified requirements.
|
void |
setSemanticManager(ISemanticManager manager)
Sets the plug-in manager of this plug-in.
|
getPluginDescription, start, stop
deliverIncoming
boolean prepareSession(PluginDescription d, NFCollection c, ISession s)
s
- The session that can be used to negotiate session
specific data and to store local information used to initiate the
communication.c
- The non-functional requirements.d
- The plug-in description of the remote device.void setSemanticManager(ISemanticManager manager)
manager
- The manager of the plug-in.void performOutgoing(Invocation invocation, ISession session)
invocation
- The invocation to perform.session
- The session that can be used to request further sessions.