org.apache.camel.component.splunk.support
Class TcpDataWriter

java.lang.Object
  extended by org.apache.camel.component.splunk.support.SplunkDataWriter
      extended by org.apache.camel.component.splunk.support.TcpDataWriter
All Implemented Interfaces:
DataWriter

public class TcpDataWriter
extends SplunkDataWriter


Field Summary
 
Fields inherited from class org.apache.camel.component.splunk.support.SplunkDataWriter
args, endpoint
 
Constructor Summary
TcpDataWriter(SplunkEndpoint endpoint, com.splunk.Args args)
           
 
Method Summary
protected  Socket createSocket(com.splunk.Service service)
           
 void setPort(int port)
           
 
Methods inherited from class org.apache.camel.component.splunk.support.SplunkDataWriter
doWrite, isConnected, start, stop, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcpDataWriter

public TcpDataWriter(SplunkEndpoint endpoint,
                     com.splunk.Args args)
Method Detail

setPort

public void setPort(int port)

createSocket

protected Socket createSocket(com.splunk.Service service)
                       throws IOException
Specified by:
createSocket in class SplunkDataWriter
Throws:
IOException


Apache Camel