public class OBProxyVCSocket extends Socket
| 构造器和说明 |
|---|
OBProxyVCSocket(String obproxyConfig) |
OBProxyVCSocket(String obproxyConfig,
int sendBufferLen,
int recvBufferLen) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
connect(SocketAddress endpoint) |
void |
connect(SocketAddress endpoint,
int timeout) |
InputStream |
getInputStream() |
InetAddress |
getLocalAddress() |
OutputStream |
getOutputStream() |
SocketAddress |
getRemoteSocketAddress() |
IOException |
InitProxyVCIOException(String info,
Throwable cause) |
boolean |
isConnected() |
void |
setCsId(long csId) |
void |
setKeepAlive(boolean b) |
void |
setReceiveBufferSize(int size) |
void |
setSendBufferSize(int size) |
void |
setSoLinger(boolean b,
int i) |
void |
setSoTimeout(int timeout) |
void |
setTcpNoDelay(boolean b) |
void |
shutdownInput() |
void |
shutdownOutput() |
bind, getChannel, getInetAddress, getKeepAlive, getLocalPort, getLocalSocketAddress, getOOBInline, getPort, getReceiveBufferSize, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isInputShutdown, isOutputShutdown, sendUrgentData, setOOBInline, setPerformancePreferences, setReuseAddress, setSocketImplFactory, setTrafficClass, toStringpublic OBProxyVCSocket(String obproxyConfig, int sendBufferLen, int recvBufferLen) throws IOException
IOExceptionpublic OBProxyVCSocket(String obproxyConfig) throws IOException
IOExceptionpublic IOException InitProxyVCIOException(String info, Throwable cause)
public void setCsId(long csId)
throws IOException
IOExceptionpublic boolean isConnected()
isConnected 在类中 Socketpublic void close()
throws IOException
close 在接口中 Closeableclose 在接口中 AutoCloseableclose 在类中 SocketIOExceptionpublic void connect(SocketAddress endpoint) throws IOException
connect 在类中 SocketIOExceptionpublic void connect(SocketAddress endpoint, int timeout) throws IOException
connect 在类中 SocketIOExceptionpublic InputStream getInputStream()
getInputStream 在类中 Socketpublic OutputStream getOutputStream()
getOutputStream 在类中 Socketpublic void setTcpNoDelay(boolean b)
setTcpNoDelay 在类中 Socketpublic void setKeepAlive(boolean b)
setKeepAlive 在类中 Socketpublic void setReceiveBufferSize(int size)
setReceiveBufferSize 在类中 Socketpublic void setSendBufferSize(int size)
setSendBufferSize 在类中 Socketpublic void setSoLinger(boolean b,
int i)
setSoLinger 在类中 Socketpublic void setSoTimeout(int timeout)
setSoTimeout 在类中 Socketpublic void shutdownInput()
shutdownInput 在类中 Socketpublic void shutdownOutput()
shutdownOutput 在类中 Socketpublic InetAddress getLocalAddress()
getLocalAddress 在类中 Socketpublic SocketAddress getRemoteSocketAddress()
getRemoteSocketAddress 在类中 SocketCopyright © 2024 oceanbase.com. All rights reserved.