Package bbflow_network
Class objectClient
java.lang.Object
bbflow_network.objectClient
class to manage connection to server socket in order to send data through TCP channel
Auto-reconnection in case of fault is implemented
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) clientThread
(package private) Thread
(package private) int
static long
delay in Output Stream flushing in nanoseconds.(package private) String
(package private) long
(package private) int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serverPort
int serverPort -
connPort
int connPort -
host
String host -
cc
clientThread cc -
ccThread
Thread ccThread -
flushThreshold
public static long flushThresholddelay in Output Stream flushing in nanoseconds. -
lastFlush
long lastFlush
-
-
Constructor Details
-
objectClient
- Throws:
IOException
InterruptedException
-
-
Method Details
-
put
- Throws:
InterruptedException
-
put
- Throws:
InterruptedException
-
tryToPut
- Throws:
IOException
InterruptedException
-
setEOS
- Throws:
InterruptedException
-