示例#1
0
 //         ---------------------------------------------------------------------
 //        Methods for Attribute JMFRole
 //        ---------------------------------------------------------------------
 ///
 ///          <summary> * (5) set attribute JMFRole </summary>
 ///          * <param name="enumVar">: the enumVar to set the attribute to </param>
 ///
 public virtual void setJMFRole(EnumJMFRole enumVar)
 {
     setAttribute(AttributeName.JMFROLE,enumVar == null ? null : enumVar.getName(), null);
 }
示例#2
0
 ///
 ///          <summary> * (9) get attribute JMFRole </summary>
 ///          * <returns> the value of the attribute </returns>
 ///
 public virtual EnumJMFRole getJMFRole()
 {
     return(EnumJMFRole.getEnum(getAttribute(AttributeName.JMFROLE, null, null)));
 }
示例#3
0
 static JDFAutoMessageService()
 {
     atrInfoTable[0]  = new AtrInfoTable(AttributeName.ACKNOWLEDGE, 0x33333331, AttributeInfo.EnumAttributeType.boolean_, null, "false");
     atrInfoTable[1]  = new AtrInfoTable(AttributeName.COMMAND, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, "false");
     atrInfoTable[2]  = new AtrInfoTable(AttributeName.GENERICATTRIBUTES, 0x33333333, AttributeInfo.EnumAttributeType.NMTOKENS, null, null);
     atrInfoTable[3]  = new AtrInfoTable(AttributeName.JMFROLE, 0x33333333, AttributeInfo.EnumAttributeType.enumeration, EnumJMFRole.getEnum(0), null);
     atrInfoTable[4]  = new AtrInfoTable(AttributeName.PERSISTENT, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, "false");
     atrInfoTable[5]  = new AtrInfoTable(AttributeName.QUERY, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, "false");
     atrInfoTable[6]  = new AtrInfoTable(AttributeName.REGISTRATION, 0x33333333, AttributeInfo.EnumAttributeType.boolean_, null, "false");
     atrInfoTable[7]  = new AtrInfoTable(AttributeName.SIGNAL,0x33333333,AttributeInfo.EnumAttributeType.boolean_,null,"false");
     atrInfoTable[8]  = new AtrInfoTable(AttributeName.TYPE,0x22222222,AttributeInfo.EnumAttributeType.NMTOKEN,null,null);
     atrInfoTable[9]  = new AtrInfoTable(AttributeName.URLSCHEMES,0x33333333,AttributeInfo.EnumAttributeType.NMTOKENS,null,null);
     elemInfoTable[0] = new ElemInfoTable(ElementName.ACTIONPOOL,0x66666111);
     elemInfoTable[1] = new ElemInfoTable(ElementName.DEVCAPPOOL,0x66666111);
     elemInfoTable[2] = new ElemInfoTable(ElementName.DEVCAPS,0x33333331);
     elemInfoTable[3] = new ElemInfoTable(ElementName.MODULEPOOL,0x66666111);
     elemInfoTable[4] = new ElemInfoTable(ElementName.TESTPOOL,0x66666111);
 }