public class DatagramSocket extends Object
Constructor and Description |
---|
DatagramSocket() |
DatagramSocket(int var0) |
DatagramSocket(int var0,
InetAddress var1) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
connect(InetAddress var0,
int var1) |
void |
disconnect() |
InetAddress |
getInetAddress() |
InetAddress |
getLocalAddress() |
int |
getLocalPort() |
int |
getPort() |
int |
getReceiveBufferSize() |
int |
getSendBufferSize() |
int |
getSoTimeout() |
void |
receive(DatagramPacket var0) |
void |
send(DatagramPacket var0) |
static void |
setDatagramSocketImplFactory(DatagramSocketImplFactory var0) |
void |
setReceiveBufferSize(int var0) |
void |
setSendBufferSize(int var0) |
void |
setSoTimeout(int var0) |
public DatagramSocket() throws SocketException
SocketException
public DatagramSocket(int var0) throws SocketException
SocketException
public DatagramSocket(int var0, InetAddress var1) throws SocketException
SocketException
public void close()
public void connect(InetAddress var0, int var1)
public void disconnect()
public InetAddress getInetAddress()
public InetAddress getLocalAddress()
public int getLocalPort()
public int getPort()
public int getReceiveBufferSize() throws SocketException
SocketException
public int getSendBufferSize() throws SocketException
SocketException
public int getSoTimeout() throws SocketException
SocketException
public void receive(DatagramPacket var0) throws IOException
IOException
public void send(DatagramPacket var0) throws IOException
IOException
public void setSendBufferSize(int var0) throws SocketException
SocketException
public void setReceiveBufferSize(int var0) throws SocketException
SocketException
public void setSoTimeout(int var0) throws SocketException
SocketException
public static void setDatagramSocketImplFactory(DatagramSocketImplFactory var0) throws IOException
IOException
Copyright © 2006–2013 OSGi Alliance. All rights reserved.