|
Calypso Gateway v1.0 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.t3.ot.misc.VisitorImpl | +--codec.visit.BasicAspVisitor | +--codec.visit.InvocationAspVisitor
Class implementing skeleton behaviour for Visitors focused on handling PDUs related to operation invocations.
Field Summary | |
protected VisitorAdapter |
adapter
|
static int |
ATTR_OPTIONS_GET
|
static int |
ATTR_OPTIONS_SET
|
protected int |
attrOptions
|
protected long |
callID
See "callidState" for explanations. |
protected int |
callidState
State "callidState" indicates whether "CALL_ID" field has been processed already or not. |
protected java.util.Vector |
constructedContext
Backbone for constructing "context" field. |
protected org.omg.CORBA.Context |
context
Context of the requested/responded operation. |
protected int |
contextState
In case "isContextPresent" is set to "true", defines the state of context construction process in the similar way as it is done for "tableState". |
static int |
DEF_ATTRIBUTE
|
static int |
DEF_OPERATION
|
protected org.omg.CORBA.Any |
discriminator
Discriminator of last "union" statement. |
protected DynIterator |
dynIterator
|
protected boolean |
isContextPresent
Defines whether "context" clause is present in operation declaration in Interface Repository. |
protected org.omg.CORBA.NVList |
nvList
NVList constructed by using Interface Repository. |
protected org.omg.CORBA.Object |
object
CORBA object for which request/response is being prepared. |
protected org.omg.CORBA.Contained |
opAttrDef
|
protected int |
opAttrDefClass
|
protected java.lang.String[] |
opNameScope
Name scope of the requested/responded operation. |
protected static int |
STATE_CALLID_PARSED
|
protected static int |
STATE_CALLID_UNPARSED
|
protected static int |
STATE_CONTEXT_ACTIVE
|
protected static int |
STATE_CONTEXT_COMPLETE
|
protected static int |
STATE_CONTEXT_INACTIVE
|
Fields inherited from class codec.visit.BasicAspVisitor |
asp,
choiceCount,
orb,
pcoName,
STATE_TABLE_ACTIVE,
STATE_TABLE_COMPLETE,
STATE_TABLE_INACTIVE,
tableState |
Fields inherited from class com.t3.ot.misc.VisitorImpl |
_isGoingForward |
Constructor Summary | |
InvocationAspVisitor(java.lang.String pcoName_,
com.t3.ot.pco.ASP asp_)
|
Method Summary | |
protected void |
checkAspFieldName(java.lang.String aspFieldName,
java.lang.String paramName)
Check that PDU field name matches the definition from Int Rep. |
protected void |
checkBegOfNode(DynNode dynNode,
java.lang.String aspFieldName)
|
protected boolean |
checkContextInCharStringValue(com.t3.ot.misc.StringValue value)
Returns true in case value has been processed by this procedure and does not need further handling, returns false otherwise. |
private void |
checkContextInFinalizeVisitor()
|
protected boolean |
checkContextInSequenceOfBegin(com.t3.ot.misc.StructValue value)
Returns true in case value has been processed by this procedure and does not need further handling, returns false otherwise. |
protected boolean |
checkContextInSequenceOfEnd(com.t3.ot.misc.StructValue value)
Returns true in case value has been processed by this procedure and does not need further handling, returns false otherwise. |
protected void |
checkDiscriminator(DynNode dynNode,
java.lang.String aspFieldName)
Check whether current PDU field has a name "seq_discriminator" and if so, save the corresponding any value to "discriminator" class field. |
protected void |
checkDynIterator()
A frequently used shortcut to checking the validity of DynIterator automaton state. |
protected void |
checkEndOfNode(DynNode dynNode,
java.lang.String aspFieldName)
|
protected void |
checkLeaf(DynNode dynNode,
java.lang.String aspFieldName)
|
protected void |
checkTableAndCallid()
A frequently used shortcut for checking the validity of Visitor automaton state. |
protected void |
finalizeVisitor()
|
int |
getAttrOptions()
Get information about whether we are having get() or set() operation on an attribute. |
protected static int |
getDynNodeKind(DynNode dynNode)
Obtain "kind" attribute of "namedValue". |
org.omg.CORBA.Contained |
getOpAttrDef()
Get CORBA-style operation or attribute definition. |
int |
getOpAttrDefClass()
Get information about whether we actually have a definition of an attribute or of a class in a manner independent from ORB vendor. |
Methods inherited from class com.t3.ot.misc.VisitorImpl |
isGoingForward,
setGoBackward,
visitMatchingSymbol,
visitTTCNConstraintBegin,
visitTTCNConstraintEnd |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected org.omg.CORBA.Contained opAttrDef
protected int opAttrDefClass
public static final int DEF_OPERATION
public static final int DEF_ATTRIBUTE
protected int attrOptions
public static final int ATTR_OPTIONS_GET
public static final int ATTR_OPTIONS_SET
protected org.omg.CORBA.Object object
protected java.lang.String[] opNameScope
protected org.omg.CORBA.NVList nvList
protected org.omg.CORBA.Context context
protected boolean isContextPresent
protected java.util.Vector constructedContext
protected VisitorAdapter adapter
protected int callidState
protected static final int STATE_CALLID_UNPARSED
protected static final int STATE_CALLID_PARSED
protected long callID
protected int contextState
protected static final int STATE_CONTEXT_INACTIVE
protected static final int STATE_CONTEXT_ACTIVE
protected static final int STATE_CONTEXT_COMPLETE
protected DynIterator dynIterator
protected org.omg.CORBA.Any discriminator
Constructor Detail |
public InvocationAspVisitor(java.lang.String pcoName_, com.t3.ot.pco.ASP asp_) throws com.t3.ot.misc.OtException
Method Detail |
public final org.omg.CORBA.Contained getOpAttrDef()
public final int getOpAttrDefClass()
public final int getAttrOptions()
protected void finalizeVisitor() throws com.t3.ot.misc.OtException
private final void checkContextInFinalizeVisitor() throws com.t3.ot.misc.OtException
protected final boolean checkContextInCharStringValue(com.t3.ot.misc.StringValue value) throws com.t3.ot.misc.OtException
protected final boolean checkContextInSequenceOfBegin(com.t3.ot.misc.StructValue value) throws com.t3.ot.misc.OtException
protected final boolean checkContextInSequenceOfEnd(com.t3.ot.misc.StructValue value) throws com.t3.ot.misc.OtException
protected final void checkAspFieldName(java.lang.String aspFieldName, java.lang.String paramName) throws com.t3.ot.misc.OtException
protected final void checkDiscriminator(DynNode dynNode, java.lang.String aspFieldName) throws com.t3.ot.misc.OtException
protected static final int getDynNodeKind(DynNode dynNode)
protected final void checkTableAndCallid() throws com.t3.ot.misc.OtException
protected final void checkDynIterator() throws com.t3.ot.misc.OtException
protected final void checkLeaf(DynNode dynNode, java.lang.String aspFieldName) throws com.t3.ot.misc.OtException
protected final void checkBegOfNode(DynNode dynNode, java.lang.String aspFieldName) throws com.t3.ot.misc.OtException
protected final void checkEndOfNode(DynNode dynNode, java.lang.String aspFieldName) throws com.t3.ot.misc.OtException
|
Calypso Gateway v1.0 | ||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |