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

public abstract Class NetClient

Additional top-level classes in compilation unit: TCPClient, UDPClient.

extends Object
implements AutoCloseable
Class Inheritance
All Implemented Interfaces
java.lang.AutoCloseable
Known Direct Subclasses
sun.security.krb5.internal.TCPClient, sun.security.krb5.internal.UDPClient
Imports
java.io.*, java.net.*, sun.security.util.IOUtils

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public abstract void
close()

Redeclares java.lang.AutoCloseable.close.

Closes this resource, relinquishing any underlying resources.

public static NetClient
getInstance(String protocol, String hostname, int port, int timeout)

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

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

NetClientback to summary
public NetClient()

Method Detail

closeback to summary
public abstract void close() throws IOException

Redeclares 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.

getInstanceback to summary
public static NetClient getInstance(String protocol, String hostname, int port, int timeout) throws IOException
receiveback to summary
public abstract byte[] receive() throws IOException
sendback to summary
public abstract void send(byte[] data) throws IOException