public class PlainTcpConnection extends Object
| Constructor and Description |
|---|
PlainTcpConnection(String ip,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
byte[] |
executeMethod(byte[] request) |
Socket |
getSocket() |
public PlainTcpConnection(String ip, int port) throws IOException
IOExceptionpublic Socket getSocket()
public byte[] executeMethod(byte[] request)
throws IOException
IOExceptionpublic void destroy()
Copyright © 2017. All rights reserved.