jp.common.socket
クラス JpSocket

java.lang.Object
  上位を拡張 java.net.Socket
      上位を拡張 jp.common.socket.JpSocket

public class JpSocket
extends java.net.Socket


コンストラクタの概要
JpSocket()
           
JpSocket(java.net.InetAddress address, int port)
          super(host, port, stream)は非推奨です。
JpSocket(java.net.InetAddress address, int port, java.net.InetAddress localAddr, int localPort)
           
JpSocket(java.net.SocketImpl impl)
          super(host, port, stream)は非推奨です。
JpSocket(java.lang.String host, int port)
           
JpSocket(java.lang.String host, int port, java.net.InetAddress localAddr, int localPort)
           
 
メソッドの概要
 java.io.InputStream getInputStream()
          インプットストリームをMonitoringInputStreamでラップする。
 
クラス java.net.Socket から継承されたメソッド
bind, close, connect, connect, getChannel, getInetAddress, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, 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, shutdownOutput, toString
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

JpSocket

public JpSocket()

JpSocket

public JpSocket(java.lang.String host,
                int port)
         throws java.net.UnknownHostException,
                java.io.IOException
例外:
java.net.UnknownHostException
java.io.IOException

JpSocket

public JpSocket(java.net.InetAddress address,
                int port)
         throws java.io.IOException
super(host, port, stream)は非推奨です。 継承せずスーパークラスのままにします。

例外:
java.io.IOException

JpSocket

public JpSocket(java.net.SocketImpl impl)
         throws java.net.SocketException
super(host, port, stream)は非推奨です。 継承せずスーパークラスのままにします。

例外:
java.net.SocketException

JpSocket

public JpSocket(java.lang.String host,
                int port,
                java.net.InetAddress localAddr,
                int localPort)
         throws java.io.IOException
例外:
java.io.IOException

JpSocket

public JpSocket(java.net.InetAddress address,
                int port,
                java.net.InetAddress localAddr,
                int localPort)
         throws java.io.IOException
例外:
java.io.IOException
メソッドの詳細

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
インプットストリームをMonitoringInputStreamでラップする。

オーバーライド:
クラス java.net.Socket 内の getInputStream
例外:
java.io.IOException