public final class BasicExportTable extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BasicExportTable.Entry
Represents a remote object exported to this BasicExportTable.
|
private class |
BasicExportTable.LC
Collects the ListenEndpoints associated with a ServerEndpoint
and gets the corresponding bindings using the listen pool.
|
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ConcurrentMap<SameClassKey,Binding> |
listenPool
pool of endpoints that we're listening on:
maps SameClassKey(ServerEndpoint.ListenEndpoint) to Binding.
|
private ObjectTable |
objectTable
underlying object table
|
Constructor and Description |
---|
BasicExportTable()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
BasicExportTable.Entry |
export(Remote impl,
ServerEndpoint serverEndpoint,
boolean allowDGC,
boolean keepAlive,
Uuid id)
Exports a remote object to this BasicExportTable.
|
private Binding |
getBinding(ServerEndpoint.ListenEndpoint listenEndpoint)
Returns the binding for the specified ListenEndpoint, by
returning the one already in the listen pool, if any, or else
by creating a new one.
|
private final ObjectTable objectTable
private final java.util.concurrent.ConcurrentMap<SameClassKey,Binding> listenPool
public BasicExportTable.Entry export(Remote impl, ServerEndpoint serverEndpoint, boolean allowDGC, boolean keepAlive, Uuid id) throws ExportException
ExportException
private Binding getBinding(ServerEndpoint.ListenEndpoint listenEndpoint) throws IOException
IOException
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.