@Component public class ProtobufConnector extends AbstractApiCollector
| Constructor and Description |
|---|
ProtobufConnector() |
| Modifier and Type | Method and Description |
|---|---|
void |
send(io.bitsensor.lib.entity.proto.Datapoint.Builder datapointBuilder) |
void |
setUri() |
void |
shutdown() |
getApikey, getHost, getPoolSize, getQueue, getUsername, initialize, isInitialized, sendAsync, setApikey, setHost, setPoolSize, setQueueSize, setup, setUsername, toString@PostConstruct public void setUri()
public void shutdown()
throws InterruptedException,
IOException
shutdown in interface ApiConnectorshutdown in class AbstractApiCollectorInterruptedExceptionIOExceptionpublic void send(io.bitsensor.lib.entity.proto.Datapoint.Builder datapointBuilder)
send in interface ApiConnectorsend in class AbstractApiCollectorCopyright © 2018 BitSensor. All rights reserved.