sun.security.mule.krb5.internal
Class UDPClient

java.lang.Object
  extended by sun.security.mule.krb5.internal.UDPClient

public class UDPClient
extends Object


Constructor Summary
UDPClient(InetAddress newIAddr, int port)
           
UDPClient(String hostname, int port)
           
UDPClient(String hostname, int port, int timeout)
           
 
Method Summary
 void close()
           
 InetAddress getInetAddress()
           
 byte[] receive()
           
 void send(byte[] data)
           
 void setBufSize(int newBufSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDPClient

public UDPClient(InetAddress newIAddr,
                 int port)
          throws SocketException
Throws:
SocketException

UDPClient

public UDPClient(String hostname,
                 int port)
          throws UnknownHostException,
                 SocketException
Throws:
UnknownHostException
SocketException

UDPClient

public UDPClient(String hostname,
                 int port,
                 int timeout)
          throws UnknownHostException,
                 SocketException
Throws:
UnknownHostException
SocketException
Method Detail

setBufSize

public void setBufSize(int newBufSize)

getInetAddress

public InetAddress getInetAddress()

send

public void send(byte[] data)
          throws IOException
Throws:
IOException

receive

public byte[] receive()
               throws IOException
Throws:
IOException

close

public void close()


Copyright © 2013. All Rights Reserved.