public class FakeTransportConnector1 extends Object implements de.iip_ecosphere.platform.transport.connectors.TransportConnector
| Constructor and Description |
|---|
FakeTransportConnector1() |
| Modifier and Type | Method and Description |
|---|---|
void |
asyncSend(String stream,
Object data) |
String |
composeStreamName(String parent,
String name) |
void |
connect(de.iip_ecosphere.platform.transport.connectors.TransportParameter params) |
void |
detachReceptionCallback(String stream,
de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<?> callback) |
void |
disconnect() |
String |
enabledEncryption() |
String |
getName() |
void |
setReceptionCallback(String stream,
de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<?> callback) |
String |
supportedEncryption() |
void |
syncSend(String stream,
Object data) |
void |
unsubscribe(String stream,
boolean delete) |
public void syncSend(String stream, Object data) throws IOException
syncSend in interface de.iip_ecosphere.platform.transport.connectors.TransportConnectorIOExceptionpublic void asyncSend(String stream, Object data) throws IOException
asyncSend in interface de.iip_ecosphere.platform.transport.connectors.TransportConnectorIOExceptionpublic void setReceptionCallback(String stream, de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<?> callback) throws IOException
setReceptionCallback in interface de.iip_ecosphere.platform.transport.connectors.TransportConnectorIOExceptionpublic void detachReceptionCallback(String stream, de.iip_ecosphere.platform.transport.connectors.ReceptionCallback<?> callback) throws IOException
detachReceptionCallback in interface de.iip_ecosphere.platform.transport.connectors.TransportConnectorIOExceptionpublic void unsubscribe(String stream, boolean delete) throws IOException
unsubscribe in interface de.iip_ecosphere.platform.transport.connectors.TransportConnectorIOExceptionpublic String composeStreamName(String parent, String name)
composeStreamName in interface de.iip_ecosphere.platform.transport.connectors.TransportConnectorpublic void connect(de.iip_ecosphere.platform.transport.connectors.TransportParameter params)
throws IOException
connect in interface de.iip_ecosphere.platform.transport.connectors.TransportConnectorIOExceptionpublic void disconnect()
throws IOException
disconnect in interface de.iip_ecosphere.platform.transport.connectors.TransportConnectorIOExceptionpublic String getName()
getName in interface de.iip_ecosphere.platform.transport.connectors.TransportConnectorpublic String supportedEncryption()
supportedEncryption in interface de.iip_ecosphere.platform.transport.connectors.TransportConnectorpublic String enabledEncryption()
enabledEncryption in interface de.iip_ecosphere.platform.transport.connectors.TransportConnectorCopyright © 2022. All rights reserved.