quamj.iiop_rsvpd.w2k_rsvp
Class rsvpSocket

java.lang.Object
  |
  +--java.net.SocketImpl
        |
        +--quamj.iiop_rsvpd.w2k_rsvp.rsvpSocket
All Implemented Interfaces:
java.net.SocketOptions

public class rsvpSocket
extends java.net.SocketImpl


Field Summary
static int SHUT_RD
           
static int SHUT_WR
           
 
Fields inherited from class java.net.SocketImpl
address, fd, localport, port
 
Fields inherited from interface java.net.SocketOptions
IP_MULTICAST_IF, IP_MULTICAST_IF2, IP_MULTICAST_LOOP, IP_TOS, SO_BINDADDR, SO_BROADCAST, SO_KEEPALIVE, SO_LINGER, SO_OOBINLINE, SO_RCVBUF, SO_REUSEADDR, SO_SNDBUF, SO_TIMEOUT, TCP_NODELAY
 
Constructor Summary
rsvpSocket()
           
 
Method Summary
protected  void accept(java.net.SocketImpl s)
           
protected  int available()
           
protected  void bind(java.net.InetAddress address, int lport)
           
protected  void close()
           
protected  void connect(java.net.InetAddress address, int port)
          Creates a socket and connects it to the specified address on the specified port.
protected  void connect(java.lang.String host, int port)
           
 void connecttest(java.lang.String host, int port)
          Creates a socket and connects it to the specified port on the specified host.
protected  void create(boolean stream)
          Creates a socket with a boolean that specifies whether this is a stream socket (true) or an unconnected UDP socket (false).
protected  void finalize()
           
protected  java.io.FileDescriptor getFileDescriptor()
           
protected  java.io.InputStream getInputStream()
           
 java.lang.Object getOption(int opt)
           
protected  java.io.OutputStream getOutputStream()
           
protected  void listen(int count)
           
 void setOption(int opt, java.lang.Object val)
           
protected  void shutdownInput()
           
protected  void shutdownOutput()
           
 
Methods inherited from class java.net.SocketImpl
connect, getInetAddress, getLocalPort, getPort, sendUrgentData, supportsUrgentData, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SHUT_RD

public static final int SHUT_RD
See Also:
Constant Field Values

SHUT_WR

public static final int SHUT_WR
See Also:
Constant Field Values
Constructor Detail

rsvpSocket

public rsvpSocket()
Method Detail

create

protected void create(boolean stream)
               throws java.io.IOException
Creates a socket with a boolean that specifies whether this is a stream socket (true) or an unconnected UDP socket (false).

Specified by:
create in class java.net.SocketImpl
java.io.IOException

connecttest

public void connecttest(java.lang.String host,
                        int port)
Creates a socket and connects it to the specified port on the specified host.

Parameters:
host - the specified host
port - the specified port

connect

protected void connect(java.lang.String host,
                       int port)
                throws java.net.UnknownHostException,
                       java.io.IOException
Specified by:
connect in class java.net.SocketImpl
java.net.UnknownHostException
java.io.IOException

connect

protected void connect(java.net.InetAddress address,
                       int port)
                throws java.io.IOException
Creates a socket and connects it to the specified address on the specified port.

Specified by:
connect in class java.net.SocketImpl
Parameters:
address - the address
port - the specified port
java.io.IOException

setOption

public void setOption(int opt,
                      java.lang.Object val)
               throws java.net.SocketException
java.net.SocketException

getOption

public java.lang.Object getOption(int opt)
                           throws java.net.SocketException
java.net.SocketException

bind

protected void bind(java.net.InetAddress address,
                    int lport)
             throws java.io.IOException
Specified by:
bind in class java.net.SocketImpl
java.io.IOException

listen

protected void listen(int count)
               throws java.io.IOException
Specified by:
listen in class java.net.SocketImpl
java.io.IOException

accept

protected void accept(java.net.SocketImpl s)
               throws java.io.IOException
Specified by:
accept in class java.net.SocketImpl
java.io.IOException

getInputStream

protected java.io.InputStream getInputStream()
                                      throws java.io.IOException
Specified by:
getInputStream in class java.net.SocketImpl
java.io.IOException

getOutputStream

protected java.io.OutputStream getOutputStream()
                                        throws java.io.IOException
Specified by:
getOutputStream in class java.net.SocketImpl
java.io.IOException

available

protected int available()
                 throws java.io.IOException
Specified by:
available in class java.net.SocketImpl
java.io.IOException

close

protected void close()
              throws java.io.IOException
Specified by:
close in class java.net.SocketImpl
java.io.IOException

getFileDescriptor

protected java.io.FileDescriptor getFileDescriptor()
Overrides:
getFileDescriptor in class java.net.SocketImpl

shutdownInput

protected void shutdownInput()
                      throws java.io.IOException
Overrides:
shutdownInput in class java.net.SocketImpl
java.io.IOException

shutdownOutput

protected void shutdownOutput()
                       throws java.io.IOException
Overrides:
shutdownOutput in class java.net.SocketImpl
java.io.IOException

finalize

protected void finalize()
                 throws java.io.IOException
Overrides:
finalize in class java.lang.Object
java.io.IOException