|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--java.net.Socket
|
+--goodsjpi.LocalSocket
Socket class wrapper using GOODS local windows socket implementation
| Constructor Summary | |
LocalSocket()
|
|
LocalSocket(long implObj)
|
|
LocalSocket(java.lang.String address,
int port)
|
|
| Method Summary | |
goodsjpi.LocalSocket |
accept()
|
void |
cancelAccept()
|
void |
close()
|
static goodsjpi.LocalSocket |
create(int port)
|
java.io.InputStream |
getInputStream()
|
java.io.OutputStream |
getOutputStream()
|
void |
open(java.lang.String address,
int port)
|
void |
setSoLinger(boolean on,
int linger)
|
void |
setTcpNoDelay(boolean on)
|
| Methods inherited from class java.net.Socket |
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, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoTimeout, setTrafficClass, shutdownInput, shutdownOutput, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public LocalSocket(long implObj)
throws java.net.SocketException
public LocalSocket(java.lang.String address,
int port)
throws java.net.SocketException
public LocalSocket()
throws java.net.SocketException
| Method Detail |
public java.io.InputStream getInputStream()
throws java.io.IOException
getInputStream in class java.net.Socketjava.io.IOException
public java.io.OutputStream getOutputStream()
throws java.io.IOException
getOutputStream in class java.net.Socketjava.io.IOExceptionpublic void setTcpNoDelay(boolean on)
setTcpNoDelay in class java.net.Socket
public void setSoLinger(boolean on,
int linger)
setSoLinger in class java.net.Socket
public void open(java.lang.String address,
int port)
public void close()
close in class java.net.Socket
public goodsjpi.LocalSocket accept()
throws java.net.SocketException
java.net.SocketExceptionpublic void cancelAccept()
public static goodsjpi.LocalSocket create(int port)
throws java.net.SocketException
java.net.SocketException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||