org.omg.CosNaming

Class _NamingContextImplBase

public abstract class _NamingContextImplBase extends DynamicImplementation implements NamingContext, InvokeHandler

The naming context implementation base.
Method Summary
voidinvoke(ServerRequest request)
The obsolete invocation using server request.
String[]_ids()
Return the array of repository ids.
OutputStream_invoke(String method, InputStream in, ResponseHandler rh)
The server calls this method after receiving the request message from client.

Method Detail

invoke

public void invoke(ServerRequest request)
The obsolete invocation using server request. Implemented for compatibility reasons, but is it more effectinve to use {@link #_invoke}.

Parameters: request a server request.

_ids

public String[] _ids()
Return the array of repository ids.

_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.