パッケージ jcifs.smb1.netbios
クラス NbtSocket
java.lang.Object
java.net.Socket
jcifs.smb1.netbios.NbtSocket
- すべての実装されたインタフェース:
Closeable
,AutoCloseable
public class NbtSocket extends Socket
Do not use this class. Writing to the OutputStream of this type of socket
requires leaving a 4 byte prefix for the NBT header. IOW you must call
write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error.
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 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()
クラスから継承されたメソッド java.net.Socket
bind, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalSocketAddress, getOOBInline, getOption, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setOption, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, supportedOptions
-
コンストラクタの詳細
-
NbtSocket
public NbtSocket() -
NbtSocket
- 例外:
IOException
-
NbtSocket
public NbtSocket(NbtAddress address, int port, InetAddress localAddr, int localPort) throws IOException- 例外:
IOException
-
NbtSocket
public NbtSocket(NbtAddress address, String calledName, int port, InetAddress localAddr, int localPort) throws IOException- 例外:
IOException
-
-
メソッドの詳細
-
getNbtAddress
-
getInputStream
- オーバーライド:
getInputStream
クラス内Socket
- 例外:
IOException
-
getOutputStream
- オーバーライド:
getOutputStream
クラス内Socket
- 例外:
IOException
-
getPort
public int getPort() -
getLocalAddress
- オーバーライド:
getLocalAddress
クラス内Socket
-
getLocalPort
public int getLocalPort()- オーバーライド:
getLocalPort
クラス内Socket
-
toString
-
close
- 定義:
close
インタフェース内AutoCloseable
- 定義:
close
インタフェース内Closeable
- オーバーライド:
close
クラス内Socket
- 例外:
IOException
-