|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.net.Socket
javacli.LocalSocket
public class LocalSocket
Constructor Summary | |
---|---|
LocalSocket()
|
|
LocalSocket(long implObj)
|
|
LocalSocket(java.lang.String address,
int port)
|
Method Summary | |
---|---|
LocalSocket |
accept()
|
void |
cancelAccept()
|
void |
close()
|
static 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, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoTimeout, setTrafficClass, shutdownInput, shutdownOutput, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LocalSocket(long implObj) throws java.net.SocketException
java.net.SocketException
public LocalSocket(java.lang.String address, int port) throws java.net.SocketException
java.net.SocketException
public LocalSocket() throws java.net.SocketException
java.net.SocketException
Method Detail |
---|
public java.io.InputStream getInputStream() throws java.io.IOException
getInputStream
in class java.net.Socket
java.io.IOException
public java.io.OutputStream getOutputStream() throws java.io.IOException
getOutputStream
in class java.net.Socket
java.io.IOException
public 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 LocalSocket accept() throws java.net.SocketException
java.net.SocketException
public void cancelAccept()
public static 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 |