APIdia Launch Partner
Top Description Methods
java.rmi.server

public Interface Skeleton

Known Direct Implementers
sun.rmi.registry.RegistryImpl_Skel, sun.rmi.transport.DGCImpl_Skel
Annotations
@Deprecated
Imports
java.rmi.Remote

Deprecated

no replacement. Skeletons are no longer required for remote method calls in the Java 2 platform v1.2 and greater.

The Skeleton interface is used solely by the RMI implementation.

Every version 1.1 compatible skeleton implements this interface. A skeleton for a remote object is a server-side entity that dispatches calls to the actual remote object implementation.

Author
Ann Wollrath
Since
1.1

Method Summary

Modifier and TypeMethod and Description
public void
dispatch(Remote
remote implementation to dispatch call to
obj
,
RemoteCall
object representing remote call
theCall
,
int
operation number
opnum
,
long
stub/skeleton interface hash
hash
)
Deprecated no replacement

Unmarshals arguments, calls the actual remote object implementation, and marshals the return value or any exception.

public Operation[]

Returns:

operations supported by skeleton
getOperations
()
Deprecated no replacement

Returns the operations supported by the skeleton.

Method Detail

dispatchback to summary
public void dispatch(Remote obj, RemoteCall theCall, int opnum, long hash) throws Exception

Deprecated

no replacement

Unmarshals arguments, calls the actual remote object implementation, and marshals the return value or any exception.

Parameters
obj:Remote

remote implementation to dispatch call to

theCall:RemoteCall

object representing remote call

opnum:int

operation number

hash:long

stub/skeleton interface hash

Annotations
@Deprecated
Exceptions
Exception:
if a general exception occurs.
Since
1.1
getOperationsback to summary
public Operation[] getOperations()

Deprecated

no replacement

Returns the operations supported by the skeleton.

Returns:Operation[]

operations supported by skeleton

Annotations
@Deprecated
Since
1.1