public class InprocessSocket extends Socket
| Modifier and Type | Class and Description |
|---|---|
class |
InprocessSocket.InprocessInputStream |
class |
InprocessSocket.InprocessOutputStream |
| Constructor and Description |
|---|
InprocessSocket() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
InputStream |
getInputStream() |
OutputStream |
getOutputStream() |
String |
read() |
int |
read2(char[] s,
int len) |
int |
read3(byte[] s,
int bufSize) |
void |
setConnection(MT4InprocessConnection mt4InprocessConnection) |
void |
write(String s) |
void |
write2(char[] s,
int len) |
bind, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, 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 static final int BUFSZ
public int cmno
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class SocketIOExceptionpublic void write2(char[] s,
int len)
public void write(String s)
public String read()
public int read3(byte[] s,
int bufSize)
public int read2(char[] s,
int len)
public void setConnection(MT4InprocessConnection mt4InprocessConnection)
public InputStream getInputStream() throws IOException
getInputStream in class SocketIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream in class SocketIOException