|
Calypso Gateway v1.0 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--codec.convert.AspConverter
Class containing various static conversion methods between ATS ASPs and SUT packets.
Field Summary | |
private static java.lang.Long |
uniqueID
|
Constructor Summary | |
AspConverter()
|
Method Summary | |
static java.lang.String |
createFromNameScope(java.lang.String[] nameScope)
Create TTCN-style PCO (exception, operation) identifier from sequence representing interface (exception, operation) name scope. |
static com.t3.ot.pco.ASP |
createServerException(long callID,
java.lang.String[] excScope,
java.lang.String excName)
Convert exception thrown by SUT, Gateway, CORBA or Java environment to Exception PDU. |
static java.lang.String |
extractIOR(com.t3.ot.pco.ASP asp)
Extract field containing IOR from Registration PDU. |
static java.lang.String[] |
extractNameScope(java.lang.String nameScope)
Extract sequence representing interface (exception, operation) name scope from TTCN-style PCO (exception, operation) identifier. |
static java.lang.String[] |
extractNamingContext(java.lang.String pcoName,
com.t3.ot.pco.ASP asp)
Extract object location in Naming Service from Registration PDU. |
static java.lang.String |
extractRefFile(com.t3.ot.pco.ASP asp)
Extract field containing IOR file location from Registration PDU. |
static long |
getUniqueID()
Return a value which is guaranteed to be unique within current session of Gateway execution. |
static void |
sendASP(java.lang.String pcoName,
com.t3.ot.pco.ASP asp)
Send ASP through PCO identified by "pcoName". |
static void |
throwFatalException(java.lang.String pcoName)
Send GatewayException.Fatal.General Exception PDU to
Tester. |
static void |
throwRecoverableException(java.lang.String pcoName)
Send GatewayException.Recoverable.General Exception
PDU to Tester. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static java.lang.Long uniqueID
Constructor Detail |
public AspConverter()
Method Detail |
public static long getUniqueID()
public static java.lang.String[] extractNameScope(java.lang.String nameScope)
null
in case TTCN identifier is invalid, i.e. it
contains odd number of "_" characters not terminated by "i" character;
or identifier is terminated by valid "_i" separator; or identifier
prefix is invalid.public static java.lang.String createFromNameScope(java.lang.String[] nameScope)
public static void sendASP(java.lang.String pcoName, com.t3.ot.pco.ASP asp)
public static com.t3.ot.pco.ASP createServerException(long callID, java.lang.String[] excScope, java.lang.String excName)
excBody
- must be null if exception has no bodypublic static void throwRecoverableException(java.lang.String pcoName)
GatewayException.Recoverable.General
Exception
PDU to Tester.public static void throwFatalException(java.lang.String pcoName)
GatewayException.Fatal.General
Exception PDU to
Tester.public static java.lang.String extractIOR(com.t3.ot.pco.ASP asp)
null
.public static java.lang.String extractRefFile(com.t3.ot.pco.ASP asp)
null
.public static java.lang.String[] extractNamingContext(java.lang.String pcoName, com.t3.ot.pco.ASP asp)
null
.
|
Calypso Gateway v1.0 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |