Overview | Module | Use | Devguide | Index

Nested Modules | Services | Singletons | Interfaces | Structs | Exceptions | Enums | Typedefs | Constant Groups

:: com :: sun :: star ::
module connection
Description Data exchange interfaces for inter-process communication.

Services
Acceptor | allows to accept connection attempts from another process.
Connector | allows to establish a connection to another process.

Interfaces
XAcceptor | allows to passively accept connection attempts from other processes.
XConnection | A bidirectional bytestream.
XConnection2 | XConnection2 extends the`XConnection` interface with`available` and`readSomeBytes`
XConnectionBroadcaster | allows to add listeners to a connection.
XConnector | allows to actively establish an interprocess connection.

Structs
SocketPermission | This permission represents access to a network via sockets. A SocketPermission consists of a host specification and a set of actions specifying ways to connect to that host. The host is specified as

Exceptions
AlreadyAcceptingException | Is thrown, when there is another thread already accepting on this instance.
ConnectionSetupException | Is thrown, when it is not possible to accept on a local resource.
NoConnectException | Is thrown in case no one is accepting on the specified resource.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.