public interface EventProducer<TP extends TransportProtocol> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
void |
connect(TP protocolSettings) |
void |
disconnect() |
Boolean |
isConnected() |
void |
publish(byte[] event) |
void connect(TP protocolSettings) throws org.streampipes.commons.exceptions.SpRuntimeException
org.streampipes.commons.exceptions.SpRuntimeExceptionvoid publish(byte[] event)
void disconnect()
throws org.streampipes.commons.exceptions.SpRuntimeException
org.streampipes.commons.exceptions.SpRuntimeExceptionBoolean isConnected()
Copyright © 2018. All rights reserved.