public class InvocationDirector extends Object implements EventListener
| Constructor and Description |
|---|
InvocationDirector() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Clears out our session information.
|
void |
eventReceived(DEvent event)
Process notification and response events arriving on user object.
|
void |
init(DObjectManager omgr,
int cloid,
Client client)
Initializes the invocation director.
|
void |
registerReceiver(InvocationDecoder decoder)
Registers an invocation notification receiver by way of its notification event decoder.
|
void |
sendRequest(int invOid,
int invCode,
int methodId,
Object[] args)
Requests that the specified invocation request be packaged up and sent to the supplied
invocation oid.
|
void |
sendRequest(int invOid,
int invCode,
int methodId,
Object[] args,
Transport transport)
Requests that the specified invocation request be packaged up and sent to the supplied
invocation oid.
|
void |
unregisterReceiver(String receiverCode)
Removes a receiver registration.
|
public void init(DObjectManager omgr, int cloid, Client client)
omgr - the distributed object manager via which the invocation manager will send and
receive events.cloid - the oid of the object on which invocation notifications as well as invocation
responses will be received.client - a reference to the client for whom we're doing our business.public void cleanup()
public void registerReceiver(InvocationDecoder decoder)
public void unregisterReceiver(String receiverCode)
public void sendRequest(int invOid,
int invCode,
int methodId,
Object[] args)
public void sendRequest(int invOid,
int invCode,
int methodId,
Object[] args,
Transport transport)
public void eventReceived(DEvent event)
eventReceived in interface EventListenerevent - The event that was dispatched on the object.Copyright © 2015. All rights reserved.