public class TCPSocketAction extends Object
| Constructor and Description |
|---|
TCPSocketAction()
The constructor of TCPSocketAction
|
TCPSocketAction(int port,
String host)
The constructor of TCPSocketAction
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHost() |
int |
getPort() |
TCPSocketAction |
setHost(String host) |
TCPSocketAction |
setPort(int port) |
public TCPSocketAction()
public TCPSocketAction(int port,
String host)
port - The port of tcp sockethost - The host of tcp socketpublic int getPort()
public TCPSocketAction setPort(int port)
public String getHost()
public TCPSocketAction setHost(String host)
Copyright © 2023. All rights reserved.