java.rmi.server

Class RemoteStub

public abstract class RemoteStub extends RemoteObject

This is a base class for the automatically generated RMI stubs.
Constructor Summary
protected RemoteStub()
Constructs the remote stub with no reference set.
protected RemoteStub(RemoteRef ref)
Constructs the remote stub that uses given remote reference for the method invocations.
Method Summary
protected static voidsetRef(RemoteStub stub, RemoteRef ref)
Sets the given remote reference for the given stub.

Constructor Detail

RemoteStub

protected RemoteStub()
Constructs the remote stub with no reference set.

RemoteStub

protected RemoteStub(RemoteRef ref)
Constructs the remote stub that uses given remote reference for the method invocations.

Parameters: ref the remote reference for the method invocation.

Method Detail

setRef

protected static void setRef(RemoteStub stub, RemoteRef ref)

Deprecated:

Sets the given remote reference for the given stub. This method is deprecated. Pass the stub remote reference to the RemoteStub constructor instead.