| Modifier and Type | Field and Description |
|---|---|
| private static final ThreadLocal | currentTransport
References the current transport when a call is being serviced |
| private static final ObjID | dgcID
ObjID for DGCImpl |
| pack-priv static final int | logLevel
"transport" package log level |
| pack-priv static final Log |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static Transport | currentTransport()
Returns the current transport if a call is being serviced, otherwise returns null. |
| public void | |
| public abstract void | |
| public abstract Channel | Returns: the channel or null if the transport cannot generate connections to this endpointthe endpoint to which connections will be generated. ep)Returns a Channel that generates connections to the endpoint ep. |
| private static String | |
| public boolean | serviceCall(final RemoteCall call)
References Deprecated
RemoteCall is deprecated or references (maybe indirectly) at least one deprecated element.
Service an incoming remote call. |
| private static void | |
| protected void | targetUnexported()
Invoked when an object that was exported on this transport has become unexported, either by being garbage collected or by being explicitly unexported. |
| currentTransport | back to summary |
|---|---|
| private static final ThreadLocal<Transport> currentTransport References the current transport when a call is being serviced | |
| dgcID | back to summary |
|---|---|
| private static final ObjID dgcID ObjID for DGCImpl | |
| logLevel | back to summary |
|---|---|
| pack-priv static final int logLevel "transport" package log level | |
| transportLog | back to summary |
|---|---|
| pack-priv static final Log transportLog | |
| Transport | back to summary |
|---|---|
| public Transport() | |
| currentTransport | back to summary |
|---|---|
| pack-priv static Transport currentTransport() Returns the current transport if a call is being serviced, otherwise returns null. | |
| exportObject | back to summary |
|---|---|
| public void exportObject(Target target) throws RemoteException Export the object so that it can accept incoming calls. | |
| free | back to summary |
|---|---|
| public abstract void free(Endpoint ep) Removes the Channel that generates connections to the endpoint ep. | |
| getChannel | back to summary |
|---|---|
| public abstract Channel getChannel(Endpoint ep) Returns a Channel that generates connections to the endpoint ep. A Channel is an object that creates and manages connections of a particular type to some particular address space. | |
| getLogLevel | back to summary |
|---|---|
| private static String getLogLevel() | |
| serviceCall | back to summary |
|---|---|
| public boolean serviceCall(final RemoteCall call)
References Deprecated
See corresponding docs for further information. Service an incoming remote call. When a message arrives on the connection indicating the beginning of a remote call, the threads are required to call the serviceCall method of their transport. The default implementation of this method locates and calls the dispatcher object. Ordinarily a transport implementation will not need to override this method. At the entry to tr.serviceCall(conn), the connection's input stream is positioned at the start of the incoming message. The serviceCall method processes the incoming remote invocation and sends the result on the connection's output stream. If it returns "true", then the remote invocation was processed without error and the transport can cache the connection. If it returns "false", a protocol error occurred during the call, and the transport should destroy the connection. | |
| setContextClassLoader | back to summary |
|---|---|
| private static void setContextClassLoader(ClassLoader ccl) Sets the context class loader for the current thread. | |
| targetUnexported | back to summary |
|---|---|
| protected void targetUnexported() Invoked when an object that was exported on this transport has become unexported, either by being garbage collected or by being explicitly unexported. | |