java.net
Class DatagramSocketImpl
java.lang.Object
|
+--java.net.DatagramSocketImpl
- All Implemented Interfaces:
- SocketOptions
- public abstract synchronized class DatagramSocketImpl
- extends Object
- implements SocketOptions
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 |
localPort
protected int localPort
fd
protected FileDescriptor fd
DatagramSocketImpl
public DatagramSocketImpl()
create
protected abstract void create()
throws SocketException
SocketException
bind
protected abstract void bind(int,
InetAddress)
throws SocketException
SocketException
send
protected abstract void send(DatagramPacket)
throws IOException
IOException
connect
protected void connect(InetAddress,
int)
throws SocketException
SocketException
disconnect
protected void disconnect()
peek
protected abstract int peek(InetAddress)
throws IOException
IOException
peekData
protected abstract int peekData(DatagramPacket)
throws IOException
IOException
receive
protected abstract void receive(DatagramPacket)
throws IOException
IOException
setTTL
protected abstract void setTTL(byte)
throws IOException
IOException
getTTL
protected abstract byte getTTL()
throws IOException
IOException
setTimeToLive
protected abstract void setTimeToLive(int)
throws IOException
IOException
getTimeToLive
protected abstract int getTimeToLive()
throws IOException
IOException
join
protected abstract void join(InetAddress)
throws IOException
IOException
leave
protected abstract void leave(InetAddress)
throws IOException
IOException
joinGroup
protected abstract void joinGroup(SocketAddress,
NetworkInterface)
throws IOException
IOException
leaveGroup
protected abstract void leaveGroup(SocketAddress,
NetworkInterface)
throws IOException
IOException
close
protected abstract void close()
getLocalPort
protected int getLocalPort()
getFileDescriptor
protected FileDescriptor getFileDescriptor()