org.omg.CosNaming

Class NamingContextPOA

public abstract class NamingContextPOA extends Servant implements NamingContextOperations, InvokeHandler

The naming service servant. After implementing the abstract methods the instance of this class can be connected to an ORB using POA.

Since: 1.4

Method Summary
String[]_all_interfaces(POA poa, byte[] object_ID)
OutputStream_invoke(String method, InputStream in, ResponseHandler rh)
The server calls this method after receiving the request message from client.
NamingContext_this()
Get the CORBA object that delegates calls to this servant.
NamingContext_this(ORB orb)
Get the CORBA object that delegates calls to this servant.

Method Detail

_all_interfaces

public String[] _all_interfaces(POA poa, byte[] object_ID)

UNKNOWN:

_invoke

public OutputStream _invoke(String method, InputStream in, ResponseHandler rh)
The server calls this method after receiving the request message from client. The implementation base calls one of its abstract methods to perform the requested operation.

Parameters: method the method being invoked. in the stream to read parameters from. rh the handler to get a stream for writing a response.

Returns: the stream, returned by the handler.

_this

public NamingContext _this()
Get the CORBA object that delegates calls to this servant. The servant must be already connected to an ORB.

_this

public NamingContext _this(ORB orb)
Get the CORBA object that delegates calls to this servant. Connect to the given ORB, if needed.