Save This Page
Home » openjdk-7 » java » net » [javadoc | source]
java.net
class: PlainDatagramSocketImpl [javadoc | source]
java.lang.Object
   java.net.DatagramSocketImpl
      java.net.AbstractPlainDatagramSocketImpl
         java.net.PlainDatagramSocketImpl

All Implemented Interfaces:
    SocketOptions

Direct Known Subclasses:
    ZDatagramSocketImpl

Fields inherited from java.net.AbstractPlainDatagramSocketImpl:
timeout,  connected
Fields inherited from java.net.DatagramSocketImpl:
localPort,  fd
Method from java.net.PlainDatagramSocketImpl Summary:
bind0,   connect0,   datagramSocketClose,   datagramSocketCreate,   disconnect0,   getTTL,   getTimeToLive,   join,   leave,   peek,   peekData,   receive0,   send,   setTTL,   setTimeToLive,   socketGetOption,   socketSetOption
Methods from java.net.AbstractPlainDatagramSocketImpl:
bind,   bind0,   close,   connect,   connect0,   create,   datagramSocketClose,   datagramSocketCreate,   disconnect,   disconnect0,   finalize,   getOption,   getTTL,   getTimeToLive,   isClosed,   join,   join,   joinGroup,   leave,   leave,   leaveGroup,   peek,   peekData,   receive,   receive0,   send,   setOption,   setTTL,   setTimeToLive,   socketGetOption,   socketSetOption
Methods from java.net.DatagramSocketImpl:
bind,   close,   connect,   create,   disconnect,   getFileDescriptor,   getLocalPort,   getTTL,   getTimeToLive,   join,   joinGroup,   leave,   leaveGroup,   peek,   peekData,   receive,   send,   setTTL,   setTimeToLive
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.net.PlainDatagramSocketImpl Detail:
 protected synchronized native  void bind0(int lport,
    InetAddress laddr) throws SocketException
 protected native  void connect0(InetAddress address,
    int port) throws SocketException
 protected native  void datagramSocketClose()
 protected native  void datagramSocketCreate() throws SocketException
 protected native  void disconnect0(int family)
 protected native byte getTTL() throws IOException
 protected native int getTimeToLive() throws IOException
 protected native  void join(InetAddress inetaddr,
    NetworkInterface netIf) throws IOException
 protected native  void leave(InetAddress inetaddr,
    NetworkInterface netIf) throws IOException
 protected synchronized native int peek(InetAddress i) throws IOException
 protected synchronized native int peekData(DatagramPacket p) throws IOException
 protected synchronized native  void receive0(DatagramPacket p) throws IOException
 protected native  void send(DatagramPacket p) throws IOException
 protected native  void setTTL(byte ttl) throws IOException
 protected native  void setTimeToLive(int ttl) throws IOException
 protected native Object socketGetOption(int opt) throws SocketException
 protected native  void socketSetOption(int opt,
    Object val) throws SocketException