public class InternalServerSocket
extends java.net.ServerSocket
コンストラクタ | 説明 |
---|---|
InternalServerSocket(int port) |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
java.net.Socket |
accept() |
|
void |
bind(java.net.SocketAddress endpoint) |
推奨されていません。
unsupported
|
void |
bind(java.net.SocketAddress endpoint,
int backlog) |
推奨されていません。
unsupported
|
void |
close() |
|
java.nio.channels.ServerSocketChannel |
getChannel() |
Returns null as of 0.9.33, prior to that threw IllegalArgumentException
|
java.net.InetAddress |
getInetAddress() |
推奨されていません。
unsupported
|
int |
getLocalPort() |
|
java.net.SocketAddress |
getLocalSocketAddress() |
推奨されていません。
unsupported
|
int |
getReceiveBufferSize() |
推奨されていません。
unsupported
|
boolean |
getReuseAddress() |
推奨されていません。
unsupported
|
int |
getSoTimeout() |
|
(package private) static void |
internalConnect(int port,
InternalSocket clientSock) |
This is how the client connects.
|
boolean |
isBound() |
Returns true as of 0.9.33, prior to that threw IllegalArgumentException
|
boolean |
isClosed() |
Supported as of 0.9.33, prior to that threw IllegalArgumentException
|
static void |
renderStatusHTML(java.io.Writer out) |
For debugging only
|
void |
setReceiveBufferSize(int size) |
推奨されていません。
unsupported
|
void |
setReuseAddress(boolean on) |
推奨されていません。
unsupported
|
void |
setSoTimeout(int timeout) |
warning - unsupported
|
java.lang.String |
toString() |
public InternalServerSocket(int port) throws java.io.IOException
port
- > 0java.io.IOException
public void close()
close
クラス内 java.net.ServerSocket
public java.net.Socket accept() throws java.io.IOException
accept
クラス内 java.net.ServerSocket
java.io.IOException
public java.lang.String toString()
toString
クラス内 java.net.ServerSocket
static void internalConnect(int port, InternalSocket clientSock) throws java.io.IOException
port
- > 0java.io.IOException
public int getLocalPort()
getLocalPort
クラス内 java.net.ServerSocket
public void setSoTimeout(int timeout)
setSoTimeout
クラス内 java.net.ServerSocket
public int getSoTimeout()
getSoTimeout
クラス内 java.net.ServerSocket
@Deprecated public void bind(java.net.SocketAddress endpoint)
bind
クラス内 java.net.ServerSocket
@Deprecated public void bind(java.net.SocketAddress endpoint, int backlog)
bind
クラス内 java.net.ServerSocket
public java.nio.channels.ServerSocketChannel getChannel()
getChannel
クラス内 java.net.ServerSocket
@Deprecated public java.net.InetAddress getInetAddress()
getInetAddress
クラス内 java.net.ServerSocket
@Deprecated public java.net.SocketAddress getLocalSocketAddress()
getLocalSocketAddress
クラス内 java.net.ServerSocket
@Deprecated public int getReceiveBufferSize()
getReceiveBufferSize
クラス内 java.net.ServerSocket
@Deprecated public boolean getReuseAddress()
getReuseAddress
クラス内 java.net.ServerSocket
public boolean isBound()
isBound
クラス内 java.net.ServerSocket
public boolean isClosed()
isClosed
クラス内 java.net.ServerSocket
@Deprecated public void setReceiveBufferSize(int size)
setReceiveBufferSize
クラス内 java.net.ServerSocket
@Deprecated public void setReuseAddress(boolean on)
setReuseAddress
クラス内 java.net.ServerSocket
public static void renderStatusHTML(java.io.Writer out) throws java.io.IOException
java.io.IOException