| Home >> All >> com >> go >> trove >> [ net Javadoc ] |
com.go.trove.net: Javadoc index of package com.go.trove.net.
Package Samples:
com.go.trove.net
Classes:
CheckedSocket: A socket that tracks if any I/O exceptions have occured and ensures that plain I/O exceptions are thrown as SocketExceptions. InterruptedIOExceptions do not affect the exception count, and they are not converted to SocketExceptions. All socket exceptions thrown will actually be instances of CheckedSocketException , which subclasses SocketException. The error messages will contain additional information, and the original exception and socket can be obtained from it.
MultiPooledSocketFactory: Pooled SocketFactory implementation that connects to multiple hosts that may resolve to multiple InetAddresses. If running under Java 2, version 1.3, changes in the address resolution are automatically detected using InetAddressResolver . Consider wrapping with a LazySocketFactory for automatic checking against socket factories that may be dead.
DistributedSocketFactory: A SocketFactory implementation for distributing load among several SocketFactories. If an exception occurs on a socket, its pool is put into the "dead" list. A special thread will run in the background, trying to resurrect the dead SocketSocket. As soon as its able to create sockets again, its added back into the "live" list. Consider wrapping with a LazySocketFactory for automatic checking against socket factories that may be dead.
LazySocket: A socket implementation that lazily establishs a connection. It only connects when actually needed. Setting options and getting I/O streams will not force a connection to be established. As soon as a read or write operation is performed, a connection is established. If the first write operation requires a connection to be established, then a recycled connection is requested. The connection is tested by writing the data to it. If this fails, a new connection is requested and the operation is tried again.
LazySocketFactory: A socket implementation that lazily establishs a connection. It only connects when actually needed. Setting options and getting I/O streams will not force a connection to be established. As soon as a read or write operation is performed, a connection is established. If the first write operation requires a connection to be established, then a recycled connection is requested. The connection is tested by writing the data to it. If this fails, a new connection is requested and the operation is tried again.
PooledSocketFactory: Socket factory implementation that pools connections to one wrapped socket factory. Sessions are ignored on all requests. Consider wrapping with a LazySocketFactory for automatic checking against pooled connections that may have been closed.
InetAddressListener: A listener to be used in conjunction with InetAddressResolver . The listener's methods are invoked when added into a InetAddressResolver, and then only called again if anything has changed.
PlainSocketFactory: Allows client socket connections to be established with a timeout. Calling getSocket will always return a new socket, and recycle will always close the socket. Sessions are ignored on all requests.
InetAddressResolver: Allows network host names to resolve to inet addresses via event notification. Note: This class makes use of the java.util.Timer class, available only in Java 2, version 1.3.
FilteredSocket: A Socket wrapper that passes all calls to an internal Socket. This class is designed for subclasses to override or hook into the behavior of a Socket instance.
CheckedSocketException: A SocketException that prints out additional detail in the message: address and port of the socket.
BufferedSocket: A convenient class for supporting buffering on socket I/O streams.
SocketConnector: Allows client socket connections to be established with a timeout.
SocketFactory: Allows client sockets to be created or recycled.
CheckedInterruptedIOException
HttpClient
| Home | Contact Us | Privacy Policy | Terms of Service |