public class EclcSocket extends Socket
| 构造器和说明 |
|---|
EclcSocket(InetAddress address,
int port,
InetAddress localAddr,
int localPort,
String passwd,
String connectionId,
String localPubliKey) |
EclcSocket(InetAddress address,
int port,
String passwd,
String connectionId,
String localPubliKey) |
EclcSocket(String host,
int port,
InetAddress localAddr,
int localPort,
String passwd,
String connectionId,
String localPubliKey) |
EclcSocket(String host,
int port,
String passwd,
String connectionId,
String localPubliKey) |
EclcSocket(String localPubliKey,
String connectionId) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
connect(SocketAddress endpoint,
int timeout,
String passwd) |
String |
getClientPubliKey() |
String |
getServerPublicKey() |
void |
setClientPubliKey(String clientPubliKey) |
void |
setServerPublicKey(String serverPublicKey) |
bind, close, connect, connect, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toStringpublic EclcSocket(InetAddress address, int port, InetAddress localAddr, int localPort, String passwd, String connectionId, String localPubliKey) throws IOException
IOExceptionpublic EclcSocket(InetAddress address, int port, String passwd, String connectionId, String localPubliKey) throws IOException
IOExceptionpublic EclcSocket(String host, int port, InetAddress localAddr, int localPort, String passwd, String connectionId, String localPubliKey) throws IOException
IOExceptionpublic EclcSocket(String host, int port, String passwd, String connectionId, String localPubliKey) throws UnknownHostException, IOException
public void connect(SocketAddress endpoint, int timeout, String passwd) throws IOException
IOExceptionpublic String getServerPublicKey()
public String getClientPubliKey()
public void setClientPubliKey(String clientPubliKey)
public void setServerPublicKey(String serverPublicKey)
Copyright © 2019. All Rights Reserved.