| 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 | Interface and Description |
|---|---|
interface |
Pipe
A pipe is a bidirectional stream which can be established via an
asynchronous remote method. |
interface |
Session
Remote method invocation session.
|
| Modifier and Type | Method and Description |
|---|---|
static Link |
SessionAccess.current()
Returns the current thread-local session link.
|
static Link |
SessionAccess.obtain(Remote obj)
Returns the link for the session that a client-side remote object is bound to.
|
static Link |
SessionAccess.tryCurrent()
Returns the current thread-local session link.
|
static Link |
SessionAccess.tryObtain(Remote obj)
Returns the link for the session that a client-side remote object is bound to.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SessionCloseListener.closed(Link sessionLink,
SessionCloseListener.Cause cause)
Called at most once by a session, after it has closed.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
InvocationChannel
Basic interface for a bidirectional method invocation I/O channel.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StandardSession
Standard implementation of a remote method invocation
Session. |
| Modifier and Type | Method and Description |
|---|---|
Link |
LocalSession.get() |
Link |
StubSupport.sessionLink()
Returns a link to the session that stub is bound to.
|
static Link |
LocalSession.tryCurrent() |
| Modifier and Type | Method and Description |
|---|---|
int |
Skeleton.invoke(Link sessionLink,
int methodId,
InvocationChannel channel,
BatchedInvocationException batchedException)
Invoke a remote method on the server.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Channel
Basic interface for a blocking bidirectional I/O channel.
|
Copyright © 2006–2015 Cojen. All rights reserved.