| Constructor | Description |
|---|---|
ClientNode(String destinationID,
int destinationPortNo,
long ActiveSleepTime,
long InActiveSleepTime) |
|
ClientNode(Socket ClientSocket,
long ActiveSleepTime,
long InActiveSleepTime) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addClientTextListener(ClientNodeTextListener newClientText) |
|
void |
close() |
|
String |
getIPAddress() |
|
int |
getPort() |
|
boolean |
isActive() |
|
void |
run() |
|
boolean |
sendText(String dataSent) |
|
void |
sendTextLine(String dataSent) |
|
void |
start() |
public ClientNode(Socket ClientSocket, long ActiveSleepTime, long InActiveSleepTime)
public int getPort()
public void start()
public String getIPAddress()
public void addClientTextListener(ClientNodeTextListener newClientText)
public boolean sendText(String dataSent)
public void sendTextLine(String dataSent)
public void close()
public boolean isActive()
Copyright © 2019 SMYLD. All rights reserved.