public class ServerRequestDispatcherImpl extends Object implements ServerRequestDispatcher
| Constructor and Description |
|---|
ServerRequestDispatcherImpl(ORB orb) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkServerId(ObjectKey okey) |
protected void |
consumeServiceContexts(MessageMediator request) |
void |
dispatch(MessageMediator request) |
protected MessageMediator |
dispatchToServant(Object servant,
MessageMediator req,
byte[] objectId,
ObjectAdapter objectAdapter) |
protected Object |
getServantWithPI(MessageMediator request,
ObjectAdapter objectAdapter,
byte[] objectId,
ObjectKeyTemplate oktemp,
String operation) |
protected MessageMediator |
handleDynamicResult(ServerRequestImpl sreq,
MessageMediator req) |
protected void |
handleNullServant(String operation,
NullServant nserv)
Always throws OBJECT_NOT_EXIST if operation is not a special method.
|
IOR |
locate(ObjectKey okey)
Called from ORB.locate when a LocateRequest arrives.
|
protected boolean |
processCodeSetContext(MessageMediator request,
ServiceContexts contexts)
Handles setting the connection's code sets if required.
|
protected MessageMediator |
sendingReply(MessageMediator req) |
protected MessageMediator |
sendingReply(MessageMediator req,
Any excany)
Must always be called, just after the servant's method returns.
|
protected ORB orb
public ServerRequestDispatcherImpl(ORB orb)
public IOR locate(ObjectKey okey)
locate in interface ServerRequestDispatcherOBJECT_NOT_EXIST - is thrown if we know the object does not
exist here, and we are not forwarding.public void dispatch(MessageMediator request)
dispatch in interface ServerRequestDispatcherprotected Object getServantWithPI(MessageMediator request, ObjectAdapter objectAdapter, byte[] objectId, ObjectKeyTemplate oktemp, String operation) throws OADestroyed
OADestroyedprotected void checkServerId(ObjectKey okey)
protected void handleNullServant(String operation, NullServant nserv)
protected void consumeServiceContexts(MessageMediator request)
protected MessageMediator dispatchToServant(Object servant, MessageMediator req, byte[] objectId, ObjectAdapter objectAdapter)
protected MessageMediator handleDynamicResult(ServerRequestImpl sreq, MessageMediator req)
protected MessageMediator sendingReply(MessageMediator req)
protected MessageMediator sendingReply(MessageMediator req, Any excany)
protected boolean processCodeSetContext(MessageMediator request, ServiceContexts contexts)
Copyright © 2017–2019 Eclipse Foundation. All rights reserved.