APIdia Launch Partner
Top Fields Constructors Methods
sun.security.krb5.internal

pack-priv Class UDPClient

Located in compilation unit of sun.security.krb5.internal.NetClient.

extends NetClient
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv int
pack-priv DatagramPacket
pack-priv DatagramSocket
pack-priv InetAddress
pack-priv int

Constructor Summary

AccessConstructor and Description
pack-priv
UDPClient(String hostname, int port, int timeout)

Method Summary

Modifier and TypeMethod and Description
public void
close()

Implements abstract sun.security.krb5.internal.NetClient.close.

Implements java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources.

public byte[]
public void
send(byte[] data)

Implements abstract sun.security.krb5.internal.NetClient.send.

Inherited from sun.security.krb5.internal.NetClient:
getInstance

Field Detail

bufSizeback to summary
pack-priv int bufSize
dgPacketInback to summary
pack-priv DatagramPacket dgPacketIn
dgSocketback to summary
pack-priv DatagramSocket dgSocket
iaddrback to summary
pack-priv InetAddress iaddr
iportback to summary
pack-priv int iport

Constructor Detail

UDPClientback to summary
pack-priv UDPClient(String hostname, int port, int timeout) throws UnknownHostException, SocketException

Method Detail

closeback to summary
public void close()

Implements abstract sun.security.krb5.internal.NetClient.close.

Implements java.lang.AutoCloseable.close.

Doc from java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources. This method is invoked automatically on objects managed by the try-with-resources statement.

Annotations
@Override
receiveback to summary
public byte[] receive() throws IOException

Implements abstract sun.security.krb5.internal.NetClient.receive.

Annotations
@Override
sendback to summary
public void send(byte[] data) throws IOException

Implements abstract sun.security.krb5.internal.NetClient.send.

Annotations
@Override