Class TcpDataWriter
java.lang.Object
org.apache.camel.component.splunk.support.SplunkDataWriter
org.apache.camel.component.splunk.support.TcpDataWriter
- All Implemented Interfaces:
DataWriter
-
Field Summary
Fields inherited from class org.apache.camel.component.splunk.support.SplunkDataWriter
args, endpoint, lock -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected SocketcreateSocket(com.splunk.Service service) voidvoidsetLocalPort(Optional<Integer> localPort) voidsetPort(int port) Methods inherited from class org.apache.camel.component.splunk.support.SplunkDataWriter
doWrite, isConnected, start, stop, write, write
-
Constructor Details
-
TcpDataWriter
-
-
Method Details
-
setPort
public void setPort(int port) -
setLocalPort
-
setHost
-
createSocket
- Specified by:
createSocketin classSplunkDataWriter- Throws:
IOException
-