public class

UDPClient

extends Object
java.lang.Object
   ↳ sun.security.mule.krb5.internal.UDPClient

Summary

Fields
int bufSize
DatagramPacket dgPacketIn
DatagramSocket dgSocket
InetAddress iaddr
int iport
Public Constructors
UDPClient(InetAddress newIAddr, int port)
UDPClient(String hostname, int port)
UDPClient(String hostname, int port, int timeout)
Public Methods
void close()
InetAddress getInetAddress()
byte[] receive()
void send(byte[] data)
void setBufSize(int newBufSize)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

int bufSize

DatagramPacket dgPacketIn

DatagramSocket dgSocket

InetAddress iaddr

int iport

Public Constructors

public UDPClient (InetAddress newIAddr, int port)

Parameters
newIAddr
port
Throws
SocketException

public UDPClient (String hostname, int port)

Parameters
hostname
port
Throws
SocketException
UnknownHostException

public UDPClient (String hostname, int port, int timeout)

Parameters
hostname
port
timeout
Throws
SocketException
UnknownHostException

Public Methods

public void close ()

public InetAddress getInetAddress ()

public byte[] receive ()

Throws
IOException

public void send (byte[] data)

Parameters
data
Throws
IOException

public void setBufSize (int newBufSize)

Parameters
newBufSize