java.net
Class DatagramSocketImpl

java.lang.Object
  extended by java.net.DatagramSocketImpl
All Implemented Interfaces:
SocketOptions

public abstract class DatagramSocketImpl
extends Object
implements SocketOptions


Field Summary
protected  FileDescriptor fd
           
protected  int localPort
           
 
Fields inherited from interface java.net.SocketOptions
IP_MULTICAST_IF, SO_BINDADDR, SO_KEEPALIVE, SO_LINGER, SO_RCVBUF, SO_REUSEADDR, SO_SNDBUF, SO_TIMEOUT, TCP_NODELAY
 
Constructor Summary
DatagramSocketImpl()
           
 
Method Summary
protected abstract  void bind(int var0, InetAddress var1)
           
protected abstract  void close()
           
protected abstract  void create()
           
protected  FileDescriptor getFileDescriptor()
           
protected  int getLocalPort()
           
abstract  Object getOption(int var0)
           
protected abstract  int getTimeToLive()
           
protected abstract  void join(InetAddress var0)
           
protected abstract  void leave(InetAddress var0)
           
protected abstract  int peek(InetAddress var0)
           
protected abstract  void receive(DatagramPacket var0)
           
protected abstract  void send(DatagramPacket var0)
           
abstract  void setOption(int var0, Object var1)
           
protected abstract  void setTimeToLive(int var0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fd

protected FileDescriptor fd

localPort

protected int localPort
Constructor Detail

DatagramSocketImpl

public DatagramSocketImpl()
Method Detail

bind

protected abstract void bind(int var0,
                             InetAddress var1)
                      throws SocketException
Throws:
SocketException

close

protected abstract void close()

create

protected abstract void create()
                        throws SocketException
Throws:
SocketException

getFileDescriptor

protected FileDescriptor getFileDescriptor()

getLocalPort

protected int getLocalPort()

getOption

public abstract Object getOption(int var0)
                          throws SocketException
Specified by:
getOption in interface SocketOptions
Throws:
SocketException

getTimeToLive

protected abstract int getTimeToLive()
                              throws IOException
Throws:
IOException

join

protected abstract void join(InetAddress var0)
                      throws IOException
Throws:
IOException

leave

protected abstract void leave(InetAddress var0)
                       throws IOException
Throws:
IOException

peek

protected abstract int peek(InetAddress var0)
                     throws IOException
Throws:
IOException

receive

protected abstract void receive(DatagramPacket var0)
                         throws IOException
Throws:
IOException

send

protected abstract void send(DatagramPacket var0)
                      throws IOException
Throws:
IOException

setOption

public abstract void setOption(int var0,
                               Object var1)
                        throws SocketException
Specified by:
setOption in interface SocketOptions
Throws:
SocketException

setTimeToLive

protected abstract void setTimeToLive(int var0)
                               throws IOException
Throws:
IOException


Copyright © 2006-2010 OSGi Alliance. All Rights Reserved.