codec.server
Class ServerPool
java.lang.Object
|
+--codec.server.ServerPool
- public final class ServerPool
- extends java.lang.Object
Class for handling Server objects. It registers and deregisters Servers
located in SUT and calls Server operations.
Method Summary |
static void |
callOperation(java.lang.String pcoName,
com.t3.ot.pco.ASP asp)
Invoke operation of registered Server object. |
static void |
operResponse(ServantRequest servantRequest)
Handle the operation response from Server object. |
static void |
registerIOR(java.lang.String pcoName,
com.t3.ot.pco.ASP asp)
Associate PCO and Server identified by stringified IOR. |
static void |
registerNaming(java.lang.String pcoName,
com.t3.ot.pco.ASP asp)
Associate PCO and Server identified by location in Naming Service. |
static void |
registerRefFile(java.lang.String pcoName,
com.t3.ot.pco.ASP asp)
Associate PCO and Server identified by IOR file location. |
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
ServerPool
public ServerPool()
registerRefFile
public static void registerRefFile(java.lang.String pcoName,
com.t3.ot.pco.ASP asp)
- Associate PCO and Server identified by IOR file location.
- Parameters:
asp
- contains pSREG_RFILE PDU.
registerIOR
public static void registerIOR(java.lang.String pcoName,
com.t3.ot.pco.ASP asp)
- Associate PCO and Server identified by stringified IOR.
- Parameters:
asp
- contains pSREG_IOR PDU.
registerNaming
public static void registerNaming(java.lang.String pcoName,
com.t3.ot.pco.ASP asp)
- Associate PCO and Server identified by location in Naming Service.
- Parameters:
asp
- contains pSREG_NSERV PDU.
callOperation
public static void callOperation(java.lang.String pcoName,
com.t3.ot.pco.ASP asp)
- Invoke operation of registered Server object. If operation is not
declared as 'oneway', method uses asynchronous invocation and still
does not block. Method will respond to Tester with pREPLY PDU or
pRAISE PDU by itself if needed.
- Parameters:
asp
- contains pCALL PDU.
operResponse
public static void operResponse(ServantRequest servantRequest)
- Handle the operation response from Server object. Method will respond
to Tester with pREPLY PDU or pRAISE PDU by itself if needed.