public class SSLRemoteClient extends RemoteClient
| Constructor and Description |
|---|
SSLRemoteClient(String client,
String m,
InetAddress address,
int incoming_port,
Socket socket)
Initialize the remote client
|
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
getHost()
Get the client address
|
String |
getMAC()
Get the client MAC address
|
String |
getName()
Get the client name
|
int |
getPort()
Get the client port
|
boolean |
sendMessage(MessageOutput message)
Send a message to the client
|
toStringpublic SSLRemoteClient(String client, String m, InetAddress address, int incoming_port, Socket socket)
client - the client namem - the client MAC addressaddress - the client addressincoming_port - the client portsocket - the client active socketpublic String getName()
getName in class RemoteClientpublic String getMAC()
getMAC in class RemoteClientpublic InetAddress getHost()
getHost in class RemoteClientpublic int getPort()
getPort in class RemoteClientpublic boolean sendMessage(MessageOutput message)
sendMessage in class RemoteClientmessage - the message to sendCopyright © 2022. All rights reserved.