|
Kieker 1.8 | |||||||||
| 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.TCPMultiServerConnector
public class TCPMultiServerConnector
TCP server connector supporting multiple clients.
| Field Summary | |
|---|---|
static String |
PORT
Constant holds name for the port property . |
| Constructor Summary | |
|---|---|
TCPMultiServerConnector(Configuration configuration,
ConcurrentMap<Integer,LookupEntity> lookupEntityMap)
Create a TCPMultiServerConnector. |
|
| Method Summary | |
|---|---|
void |
close()
Stop all service threads to handle TCP communication and empty the record queue. |
IMonitoringRecord |
deserializeNextRecord()
Implements the deserializeNextRecord interface. |
void |
initialize()
Initializes internal queues and an executor pool for communication. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PORT
| Constructor Detail |
|---|
public TCPMultiServerConnector(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 - when the server socket cannot be acquiredIServiceConnector.initialize()
public void close()
throws ConnectorDataTransmissionException
ConnectorDataTransmissionException - if the thread shutdown is interrupted or fails, the graceful wait to empty the queue
fails or the queue is not emptied after a waiting period
public IMonitoringRecord deserializeNextRecord()
throws ConnectorDataTransmissionException,
ConnectorEndOfDataException
ConnectorDataTransmissionException - if the record reading is interrupted
ConnectorEndOfDataException - if end of all data streams are reached
|
Kieker 1.8 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||