|
Kieker 1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectkieker.tools.bridge.connector.AbstractConnector
kieker.tools.bridge.connector.tcp.TCPClientConnector
public class TCPClientConnector
Connects to a remote record source.
| Field Summary | |
|---|---|
static String |
HOSTNAME
Property name for the host name of the record source. |
static String |
PORT
Property name for the port of the record source. |
| Constructor Summary | |
|---|---|
TCPClientConnector(Configuration configuration,
ConcurrentMap<Integer,LookupEntity> lookupEntityMap)
Create a TCPClientConnector. |
|
| Method Summary | |
|---|---|
void |
close()
Closes the data stream and socket. |
IMonitoringRecord |
deserializeNextRecord()
De-serialize an object reading from the input stream. |
void |
initialize()
Create the connection to a remote service providing records. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String HOSTNAME
public static final String PORT
| Constructor Detail |
|---|
public TCPClientConnector(Configuration configuration,
ConcurrentMap<Integer,LookupEntity> lookupEntityMap)
configuration - Kieker configuration including setup for connectorslookupEntityMap - IMonitoringRecord constructor and TYPES-array to id map| Method Detail |
|---|
public void initialize()
throws ConnectorDataTransmissionException
ConnectorDataTransmissionException - if the given host or IP cannot be found, or an IOException occurs
public void close()
throws ConnectorDataTransmissionException
ConnectorDataTransmissionException - if an IOException occurs during the close operation
public IMonitoringRecord deserializeNextRecord()
throws ConnectorDataTransmissionException,
ConnectorEndOfDataException
ConnectorDataTransmissionException - when a record is received that ID is unknown or the deserialization fails
ConnectorEndOfDataException - when the other end hung up or the data stream ends of another reason
|
Kieker 1.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||