org.opennms.jicmp.jna
Class NativeDatagramSocket
java.lang.Object
org.opennms.jicmp.jna.NativeDatagramSocket
- Direct Known Subclasses:
- BSDV4NativeSocket, BSDV6NativeSocket, SunV4NativeSocket, SunV6NativeSocket, UnixV4NativeSocket, UnixV6NativeSocket, Win32V4NativeSocket, Win32V6NativeSocket
public abstract class NativeDatagramSocket
- extends Object
NativeDatagramSocket
- Author:
- brozow
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AF_INET
public static final int AF_INET
- See Also:
- Constant Field Values
PF_INET
public static final int PF_INET
- See Also:
- Constant Field Values
AF_INET6
public static final int AF_INET6
PF_INET6
public static final int PF_INET6
SOCK_DGRAM
public static final int SOCK_DGRAM
SOCK_RAW
public static final int SOCK_RAW
IPPROTO_ICMP
public static final int IPPROTO_ICMP
- See Also:
- Constant Field Values
IPPROTO_UDP
public static final int IPPROTO_UDP
- See Also:
- Constant Field Values
IPPROTO_ICMPV6
public static final int IPPROTO_ICMPV6
- See Also:
- Constant Field Values
NativeDatagramSocket
public NativeDatagramSocket()
create
public static NativeDatagramSocket create(int family,
int type,
int protocol)
throws Exception
- Throws:
Exception
receive
public abstract int receive(NativeDatagramPacket p)
throws UnknownHostException
- Throws:
UnknownHostException
send
public abstract int send(NativeDatagramPacket p)
close
public abstract int close()
Copyright © 2011. All Rights Reserved.