public class NbtSocket extends Socket
| コンストラクタと説明 |
|---|
NbtSocket() |
NbtSocket(NbtAddress address,
int port) |
NbtSocket(NbtAddress address,
int port,
InetAddress localAddr,
int localPort) |
NbtSocket(NbtAddress address,
String calledName,
int port,
InetAddress localAddr,
int localPort) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
close() |
InputStream |
getInputStream() |
InetAddress |
getLocalAddress() |
int |
getLocalPort() |
NbtAddress |
getNbtAddress() |
OutputStream |
getOutputStream() |
int |
getPort() |
String |
toString() |
bind, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalSocketAddress, getOOBInline, 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, shutdownOutputpublic NbtSocket()
public NbtSocket(NbtAddress address, int port) throws IOException
IOExceptionpublic NbtSocket(NbtAddress address, int port, InetAddress localAddr, int localPort) throws IOException
IOExceptionpublic NbtSocket(NbtAddress address, String calledName, int port, InetAddress localAddr, int localPort) throws IOException
IOExceptionpublic NbtAddress getNbtAddress()
public InputStream getInputStream() throws IOException
getInputStream クラス内 SocketIOExceptionpublic OutputStream getOutputStream() throws IOException
getOutputStream クラス内 SocketIOExceptionpublic InetAddress getLocalAddress()
getLocalAddress クラス内 Socketpublic int getLocalPort()
getLocalPort クラス内 Socketpublic void close()
throws IOException
close インタフェース内 Closeableclose インタフェース内 AutoCloseableclose クラス内 SocketIOExceptionCopyright © 2016. All rights reserved.