DatagramSocketImplAccessor

com.google.appengine.api.socket.dev

Class DatagramSocketImplAccessor

  • java.lang.Object
    • com.google.appengine.api.socket.dev.DatagramSocketImplAccessor


  • public class DatagramSocketImplAccessor
    extends java.lang.Object
    Wraps a DatagramSocketImpl to provide access to methods to LocalDatagramSocket.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      protected void bind(int lport, java.net.InetAddress laddr) 
      protected void close() 
      protected void connect(java.net.InetAddress address, int port) 
      protected void create() 
      int getLocalPort() 
      java.lang.Object getOption(int optID) 
      protected int getTimeToLive() 
      protected byte getTTL() 
      protected void join(java.net.InetAddress inetaddr) 
      protected void joinGroup(java.net.SocketAddress mcastaddr, java.net.NetworkInterface netIf) 
      protected void leave(java.net.InetAddress inetaddr) 
      protected void leaveGroup(java.net.SocketAddress mcastaddr, java.net.NetworkInterface netIf) 
      static DatagramSocketImplAccessor newSocketImplAccessor() 
      protected int peek(java.net.InetAddress i) 
      protected int peekData(java.net.DatagramPacket p) 
      protected void receive(java.net.DatagramPacket p) 
      protected void send(java.net.DatagramPacket p) 
      void setOption(int optID, java.lang.Object value) 
      protected void setTimeToLive(int ttl) 
      protected void setTTL(byte ttl) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DatagramSocketImplAccessor

        public DatagramSocketImplAccessor(java.net.DatagramSocketImpl socketImpl)
    • Method Detail

      • setOption

        public void setOption(int optID,
                              java.lang.Object value)
                       throws java.net.SocketException
        Throws:
        java.net.SocketException
        See Also:
        SocketOptions.setOption(int, java.lang.Object)
      • getOption

        public java.lang.Object getOption(int optID)
                                   throws java.net.SocketException
        Throws:
        java.net.SocketException
        See Also:
        SocketOptions.getOption(int)
      • create

        protected void create()
                       throws java.net.SocketException
        Throws:
        java.net.SocketException
        See Also:
        DatagramSocketImpl.create()
      • bind

        protected void bind(int lport,
                            java.net.InetAddress laddr)
                     throws java.net.SocketException
        Throws:
        java.net.SocketException
        See Also:
        DatagramSocketImpl.bind(int, java.net.InetAddress)
      • send

        protected void send(java.net.DatagramPacket p)
                     throws java.io.IOException
        Throws:
        java.io.IOException
        See Also:
        DatagramSocketImpl.send(java.net.DatagramPacket)
      • peek

        protected int peek(java.net.InetAddress i)
        See Also:
        DatagramSocketImpl.peek(java.net.InetAddress)
      • peekData

        protected int peekData(java.net.DatagramPacket p)
                        throws java.io.IOException
        Throws:
        java.io.IOException
        See Also:
        DatagramSocketImpl.peekData(java.net.DatagramPacket)
      • receive

        protected void&