org.mobicents.slee.resource.diameter.ro.events.avp
Class PocInformationImpl

java.lang.Object
  extended by org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
      extended by org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
          extended by org.mobicents.slee.resource.diameter.ro.events.avp.PocInformationImpl
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, net.java.slee.resource.diameter.base.events.avp.DiameterAvp, net.java.slee.resource.diameter.base.events.avp.GroupedAvp, PocInformation

public class PocInformationImpl
extends org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
implements PocInformation

PocInformationImpl.java
Project: mobicents
12:14:33 PM Apr 13, 2009

Author:
Alexandre Mendonca
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
avpSet
 
Fields inherited from class org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
code, mnd, name, prt, type, value, vendorId
 
Fields inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
FLAG_RULE_MAY, FLAG_RULE_MUST, FLAG_RULE_MUSTNOT
 
Constructor Summary
PocInformationImpl()
           
PocInformationImpl(int code, long vendorId, int mnd, int prt, byte[] value)
           
 
Method Summary
 int getNumberOfParticipants()
          Returns the value of the Number-Of-Participants AVP, of type Integer32.
 java.lang.String[] getParticipantsInvolveds()
          Returns the set of Participants-Involved AVPs.
 java.lang.String getPocControllingAddress()
          Returns the value of the PoC-Controlling-Address AVP, of type UTF8String.
 java.lang.String getPocGroupName()
          Returns the value of the PoC-Group-Name AVP, of type UTF8String.
 PocServerRole getPocServerRole()
          Returns the value of the PoC-Server-Role AVP, of type Enumerated.
 java.lang.String getPocSessionId()
          Returns the value of the PoC-Session-Id AVP, of type UTF8String.
 PocSessionType getPocSessionType()
          Returns the value of the PoC-Session-Type AVP, of type Enumerated.
 TalkBurstExchange[] getTalkBurstExchanges()
          Returns the set of Talk-Burst-Exchange AVPs.
 boolean hasNumberOfParticipants()
          Returns true if the Number-Of-Participants AVP is present in the message.
 boolean hasPocControllingAddress()
          Returns true if the PoC-Controlling-Address AVP is present in the message.
 boolean hasPocGroupName()
          Returns true if the PoC-Group-Name AVP is present in the message.
 boolean hasPocServerRole()
          Returns true if the PoC-Server-Role AVP is present in the message.
 boolean hasPocSessionId()
          Returns true if the PoC-Session-Id AVP is present in the message.
 boolean hasPocSessionType()
          Returns true if the PoC-Session-Type AVP is present in the message.
 void setNumberOfParticipants(int numberOfParticipants)
          Sets the value of the Number-Of-Participants AVP, of type Integer32.
 void setParticipantsInvolved(java.lang.String participantsInvolved)
          Sets a single Participants-Involved AVP in the message, of type UTF8String.
 void setParticipantsInvolveds(java.lang.String[] participantsInvolveds)
          Sets the set of Participants-Involved AVPs, with all the values in the given array.
 void setPocControllingAddress(java.lang.String pocControllingAddress)
          Sets the value of the PoC-Controlling-Address AVP, of type UTF8String.
 void setPocGroupName(java.lang.String pocGroupName)
          Sets the value of the PoC-Group-Name AVP, of type UTF8String.
 void setPocServerRole(PocServerRole pocServerRole)
          Sets the value of the PoC-Server-Role AVP, of type Enumerated.
 void setPocSessionId(java.lang.String pocSessionId)
          Sets the value of the PoC-Session-Id AVP, of type UTF8String.
 void setPocSessionType(PocSessionType pocSessionType)
          Sets the value of the PoC-Session-Type AVP, of type Enumerated.
 void setTalkBurstExchange(TalkBurstExchange talkBurstExchange)
          Sets a single Talk-Burst-Exchange AVP in the message, of type Grouped.
 void setTalkBurstExchanges(TalkBurstExchange[] talkBurstExchanges)
          Sets the set of Talk-Burst-Exchange AVPs, with all the values in the given array.
 
Methods inherited from class org.mobicents.slee.resource.diameter.base.events.avp.GroupedAvpImpl
addAvp, addAvp, addAvp, addAvp, byteArrayValue, clone, doubleValue, equals, floatValue, getAvp, getAvp, getAvp, getAvpAsAddress, getAvpAsAddress, getAvpAsCustom, getAvpAsCustom, getAvpAsDiameterIdentity, getAvpAsDiameterIdentity, getAvpAsDiameterURI, getAvpAsDiameterURI, getAvpAsEnumerated, getAvpAsEnumerated, getAvpAsFloat32, getAvpAsFloat32, getAvpAsFloat64, getAvpAsFloat64, getAvpAsGrouped, getAvpAsGrouped, getAvpAsInteger32, getAvpAsInteger32, getAvpAsInteger64, getAvpAsInteger64, getAvpAsIPFilterRule, getAvpAsIPFilterRule, getAvpAsOctetString, getAvpAsOctetString, getAvpAsRaw, getAvpAsRaw, getAvpAsTime, getAvpAsTime, getAvpAsUnsigned32, getAvpAsUnsigned32, getAvpAsUnsigned64, getAvpAsUnsigned64, getAvpAsUTF8String, getAvpAsUTF8String, getAvpsAsAddress, getAvpsAsAddress, getAvpsAsCustom, getAvpsAsCustom, getAvpsAsDiameterIdentity, getAvpsAsDiameterIdentity, getAvpsAsDiameterURI, getAvpsAsDiameterURI, getAvpsAsEnumerated, getAvpsAsEnumerated, getAvpsAsFloat32, getAvpsAsFloat32, getAvpsAsFloat64, getAvpsAsFloat64, getAvpsAsGrouped, getAvpsAsGrouped, getAvpsAsInteger32, getAvpsAsInteger32, getAvpsAsInteger64, getAvpsAsInteger64, getAvpsAsIPFilterRule, getAvpsAsIPFilterRule, getAvpsAsOctetString, getAvpsAsOctetString, getAvpsAsRaw, getAvpsAsRaw, getAvpsAsTime, getAvpsAsTime, getAvpsAsUnsigned32, getAvpsAsUnsigned32, getAvpsAsUnsigned64, getAvpsAsUnsigned64, getAvpsAsUTF8String, getAvpsAsUTF8String, getExtensionAvps, getGenericData, getValue, hasAvp, hasAvp, intValue, longValue, setAvpAsFloat32, setAvpAsFloat64, setAvpAsGrouped, setAvpAsInteger32, setAvpAsInteger64, setAvpAsOctetString, setAvpAsRaw, setAvpAsTime, setAvpAsUnsigned32, setAvpAsUnsigned64, setAvpAsUTF8String, setExtensionAvps, setValue, stringValue
 
Methods inherited from class org.mobicents.slee.resource.diameter.base.events.avp.DiameterAvpImpl
getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, hashCode, octetStringValue, readExternal, toString, writeExternal
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.GroupedAvp
getExtensionAvps, setExtensionAvps
 
Methods inherited from interface net.java.slee.resource.diameter.base.events.avp.DiameterAvp
byteArrayValue, clone, doubleValue, floatValue, getCode, getMandatoryRule, getName, getProtectedRule, getType, getVendorId, intValue, longValue, octetStringValue, stringValue
 
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
 

Constructor Detail

PocInformationImpl

public PocInformationImpl()

PocInformationImpl

public PocInformationImpl(int code,
                          long vendorId,
                          int mnd,
                          int prt,
                          byte[] value)
Parameters:
code -
vendorId -
mnd -
prt -
value -
Method Detail

getNumberOfParticipants

public int getNumberOfParticipants()
Description copied from interface: PocInformation
Returns the value of the Number-Of-Participants AVP, of type Integer32. A return value of null implies that the AVP has not been set.

Specified by:
getNumberOfParticipants in interface PocInformation

getParticipantsInvolveds

public java.lang.String[] getParticipantsInvolveds()
Description copied from interface: PocInformation
Returns the set of Participants-Involved AVPs. The returned array contains the AVPs in the order they appear in the message. A return value of null implies that no Participants-Involved AVPs have been set. The elements in the given array are String objects.

Specified by:
getParticipantsInvolveds in interface PocInformation

getPocControllingAddress

public java.lang.String getPocControllingAddress()
Description copied from interface: PocInformation
Returns the value of the PoC-Controlling-Address AVP, of type UTF8String. A return value of null implies that the AVP has not been set.

Specified by:
getPocControllingAddress in interface PocInformation

getPocGroupName

public java.lang.String getPocGroupName()
Description copied from interface: PocInformation
Returns the value of the PoC-Group-Name AVP, of type UTF8String. A return value of null implies that the AVP has not been set.

Specified by:
getPocGroupName in interface PocInformation

getPocServerRole

public PocServerRole getPocServerRole()
Description copied from interface: PocInformation
Returns the value of the PoC-Server-Role AVP, of type Enumerated. A return value of null implies that the AVP has not been set.

Specified by:
getPocServerRole in interface PocInformation

getPocSessionId

public java.lang.String getPocSessionId()
Description copied from interface: PocInformation
Returns the value of the PoC-Session-Id AVP, of type UTF8String. A return value of null implies that the AVP has not been set.

Specified by:
getPocSessionId in interface PocInformation

getPocSessionType

public PocSessionType getPocSessionType()
Description copied from interface: PocInformation
Returns the value of the PoC-Session-Type AVP, of type Enumerated. A return value of null implies that the AVP has not been set.

Specified by:
getPocSessionType in interface PocInformation

getTalkBurstExchanges

public TalkBurstExchange[] getTalkBurstExchanges()
Description copied from interface: PocInformation
Returns the set of Talk-Burst-Exchange AVPs. The returned array contains the AVPs in the order they appear in the message. A return value of null implies that no Talk-Burst-Exchange AVPs have been set. The elements in the given array are TalkBurstExchange objects.

Specified by:
getTalkBurstExchanges in interface PocInformation

hasNumberOfParticipants

public boolean hasNumberOfParticipants()
Description copied from interface: PocInformation
Returns true if the Number-Of-Participants AVP is present in the message.

Specified by:
hasNumberOfParticipants in interface PocInformation

hasPocControllingAddress

public boolean hasPocControllingAddress()
Description copied from interface: PocInformation
Returns true if the PoC-Controlling-Address AVP is present in the message.

Specified by:
hasPocControllingAddress in interface PocInformation

hasPocGroupName

public boolean hasPocGroupName()
Description copied from interface: PocInformation
Returns true if the PoC-Group-Name AVP is present in the message.

Specified by:
hasPocGroupName in interface PocInformation

hasPocServerRole

public boolean hasPocServerRole()
Description copied from interface: PocInformation
Returns true if the PoC-Server-Role AVP is present in the message.

Specified by:
hasPocServerRole in interface PocInformation

hasPocSessionId

public boolean hasPocSessionId()
Description copied from interface: PocInformation
Returns true if the PoC-Session-Id AVP is present in the message.

Specified by:
hasPocSessionId in interface PocInformation

hasPocSessionType

public boolean hasPocSessionType()
Description copied from interface: PocInformation
Returns true if the PoC-Session-Type AVP is present in the message.

Specified by:
hasPocSessionType in interface PocInformation

setNumberOfParticipants

public void setNumberOfParticipants(int numberOfParticipants)
Description copied from interface: PocInformation
Sets the value of the Number-Of-Participants AVP, of type Integer32.

Specified by:
setNumberOfParticipants in interface PocInformation

setParticipantsInvolved

public void setParticipantsInvolved(java.lang.String participantsInvolved)
Description copied from interface: PocInformation
Sets a single Participants-Involved AVP in the message, of type UTF8String.

Specified by:
setParticipantsInvolved in interface PocInformation

setParticipantsInvolveds

public void setParticipantsInvolveds(java.lang.String[] participantsInvolveds)
Description copied from interface: PocInformation
Sets the set of Participants-Involved AVPs, with all the values in the given array. The AVPs will be added to message in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getParticipantsInvolveds() is not guaranteed to return the same array instance, e.g. an "==" check would fail.

Specified by:
setParticipantsInvolveds in interface PocInformation

setPocControllingAddress

public void setPocControllingAddress(java.lang.String pocControllingAddress)
Description copied from interface: PocInformation
Sets the value of the PoC-Controlling-Address AVP, of type UTF8String.

Specified by:
setPocControllingAddress in interface PocInformation

setPocGroupName

public void setPocGroupName(java.lang.String pocGroupName)
Description copied from interface: PocInformation
Sets the value of the PoC-Group-Name AVP, of type UTF8String.

Specified by:
setPocGroupName in interface PocInformation

setPocServerRole

public void setPocServerRole(PocServerRole pocServerRole)
Description copied from interface: PocInformation
Sets the value of the PoC-Server-Role AVP, of type Enumerated.

Specified by:
setPocServerRole in interface PocInformation

setPocSessionId

public void setPocSessionId(java.lang.String pocSessionId)
Description copied from interface: PocInformation
Sets the value of the PoC-Session-Id AVP, of type UTF8String.

Specified by:
setPocSessionId in interface PocInformation

setPocSessionType

public void setPocSessionType(PocSessionType pocSessionType)
Description copied from interface: PocInformation
Sets the value of the PoC-Session-Type AVP, of type Enumerated.

Specified by:
setPocSessionType in interface PocInformation

setTalkBurstExchange

public void setTalkBurstExchange(TalkBurstExchange talkBurstExchange)
Description copied from interface: PocInformation
Sets a single Talk-Burst-Exchange AVP in the message, of type Grouped.

Specified by:
setTalkBurstExchange in interface PocInformation

setTalkBurstExchanges

public void setTalkBurstExchanges(TalkBurstExchange[] talkBurstExchanges)
Description copied from interface: PocInformation
Sets the set of Talk-Burst-Exchange AVPs, with all the values in the given array. The AVPs will be added to message in the order in which they appear in the array. Note: the array must not be altered by the caller following this call, and getTalkBurstExchanges() is not guaranteed to return the same array instance, e.g. an "==" check would fail.

Specified by:
setTalkBurstExchanges in interface PocInformation


Copyright © 2011. All Rights Reserved.