APIdia Launch Partner
Top Inners Fields Constructors Methods
com.sun.jndi.dns

pack-priv Class Tcp

Located in compilation unit of com.sun.jndi.dns.DnsClient.

extends Object
Class Inheritance

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static interface

Field Summary

Modifier and TypeField and Description
private final InputStream
pack-priv final OutputStream
private final Socket
private long

Constructor Summary

AccessConstructor and Description
pack-priv
Tcp(InetAddress server, int port, long timeout)

Method Summary

Modifier and TypeMethod and Description
pack-priv void
pack-priv int
read()

pack-priv int
read(byte[] b, int off, int len)

private int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

inback to summary
private final InputStream in
outback to summary
pack-priv final OutputStream out
sockback to summary
private final Socket sock
timeoutLeftback to summary
private long timeoutLeft

Constructor Detail

Tcpback to summary
pack-priv Tcp(InetAddress server, int port, long timeout) throws IOException

Method Detail

closeback to summary
pack-priv void close() throws IOException
readback to summary
pack-priv int read() throws IOException
readback to summary
pack-priv int read(byte[] b, int off, int len) throws IOException
readWithTimeoutback to summary
private int readWithTimeout(Tcp.SocketReadOp reader) throws IOException
com.sun.jndi.dns back to summary

private Interface Tcp.SocketReadOp


Method Summary

Modifier and TypeMethod and Description
public int
read()

Method Detail

readback to summary
public int read() throws IOException