| Package | Description |
|---|---|
| org.cojen.dirmi |
Public API for Dirmi.
|
| org.cojen.dirmi.core |
Session implementation classes.
|
| org.cojen.dirmi.io |
Input/Output implementation classes.
|
| Modifier and Type | Method and Description |
|---|---|
Session |
Environment.newSession(ChannelBroker broker)
Attempts to connect using given broker, blocking until session is
established.
|
Session |
Environment.newSession(ChannelBroker broker,
long timeout,
TimeUnit unit)
Attempts to connect using given broker, blocking until session is
established.
|
| Modifier and Type | Method and Description |
|---|---|
static Session |
StandardSession.create(IOExecutor executor,
ChannelBroker broker) |
static Session |
StandardSession.create(IOExecutor executor,
ChannelBroker broker,
long timeout,
TimeUnit unit) |
static Session |
StandardSession.create(IOExecutor executor,
ChannelBroker broker,
Timer timer) |
| Modifier and Type | Class and Description |
|---|---|
class |
PipedChannelBroker
Broker implementation which uses
PipedInputStream and PipedOutputStream. |
| Modifier and Type | Method and Description |
|---|---|
ChannelBroker |
BasicChannelBrokerAcceptor.accept() |
ChannelBroker |
ChannelBrokerAcceptor.accept()
Blocks until a broker is accepted.
|
ChannelBroker |
BasicChannelBrokerAcceptor.accept(long timeout,
TimeUnit unit) |
ChannelBroker |
ChannelBrokerAcceptor.accept(long timeout,
TimeUnit unit)
Blocks until a broker is accepted.
|
ChannelBroker |
BasicChannelBrokerAcceptor.accept(Timer timer) |
ChannelBroker |
ChannelBrokerAcceptor.accept(Timer timer)
Blocks until a broker is accepted.
|
ChannelBroker |
BasicChannelBrokerConnector.connect() |
ChannelBroker |
ChannelBrokerConnector.connect()
Returns a new broker, possibly blocking until it has been established.
|
ChannelBroker |
BasicChannelBrokerConnector.connect(long timeout,
TimeUnit unit) |
ChannelBroker |
ChannelBrokerConnector.connect(long timeout,
TimeUnit unit)
Returns a new broker, possibly blocking until it has been established.
|
ChannelBroker |
BasicChannelBrokerConnector.connect(Timer timer) |
ChannelBroker |
ChannelBrokerConnector.connect(Timer timer)
Returns a new broker, possibly blocking until it has been established.
|
static ChannelBroker[] |
PipedChannelBroker.newPair(IOExecutor executor)
Returns a pair of connected brokers.
|
static ChannelBroker[] |
PipedChannelBroker.newPair(IOExecutor executor,
int bufferSize)
Returns a pair of connected brokers.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ChannelBrokerAcceptor.Listener.accepted(ChannelBroker broker)
Called as soon as a broker has been accepted.
|
void |
ChannelBrokerConnector.Listener.connected(ChannelBroker broker)
Called as soon as a broker has been connected.
|
Copyright © 2006–2015 Cojen. All rights reserved.