Class SIPDispatchRule
public sealed class SIPDispatchRule : IMessage<SIPDispatchRule>, IEquatable<SIPDispatchRule>, IDeepCloneable<SIPDispatchRule>, IBufferMessage, IMessage
- Inheritance
-
SIPDispatchRule
- Implements
-
IMessage<SIPDispatchRule>IDeepCloneable<SIPDispatchRule>IBufferMessageIMessage
- Inherited Members
Constructors
SIPDispatchRule()
public SIPDispatchRule()
SIPDispatchRule(SIPDispatchRule)
public SIPDispatchRule(SIPDispatchRule other)
Parameters
otherSIPDispatchRule
Fields
DispatchRuleCalleeFieldNumber
Field number for the "dispatch_rule_callee" field.
public const int DispatchRuleCalleeFieldNumber = 3
Field Value
DispatchRuleDirectFieldNumber
Field number for the "dispatch_rule_direct" field.
public const int DispatchRuleDirectFieldNumber = 1
Field Value
DispatchRuleIndividualFieldNumber
Field number for the "dispatch_rule_individual" field.
public const int DispatchRuleIndividualFieldNumber = 2
Field Value
Properties
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
DispatchRuleCallee
SIPDispatchRuleCallee is a SIP Dispatch Rule that creates a new room for each callee.
public SIPDispatchRuleCallee DispatchRuleCallee { get; set; }
Property Value
DispatchRuleDirect
SIPDispatchRuleDirect is a SIP Dispatch Rule that puts a user directly into a room
This places users into an existing room. Optionally you can require a pin before a user can
enter the room
public SIPDispatchRuleDirect DispatchRuleDirect { get; set; }
Property Value
DispatchRuleIndividual
SIPDispatchRuleIndividual is a SIP Dispatch Rule that creates a new room for each caller.
public SIPDispatchRuleIndividual DispatchRuleIndividual { get; set; }
Property Value
Parser
public static MessageParser<SIPDispatchRule> Parser { get; }
Property Value
- MessageParser<SIPDispatchRule>
RuleCase
public SIPDispatchRule.RuleOneofCase RuleCase { get; }
Property Value
Methods
CalculateSize()
Calculates the size of this message in Protocol Buffer wire format, in bytes.
public int CalculateSize()
Returns
- int
The number of bytes required to write this message to a coded output stream.
ClearRule()
public void ClearRule()
Clone()
Creates a deep clone of this object.
public SIPDispatchRule Clone()
Returns
- SIPDispatchRule
A deep clone of this object.
Equals(SIPDispatchRule)
public bool Equals(SIPDispatchRule other)
Parameters
otherSIPDispatchRule
Returns
Equals(object)
public override bool Equals(object other)
Parameters
otherobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
MergeFrom(CodedInputStream)
Merges the data from the specified coded input stream with the current message.
public void MergeFrom(CodedInputStream input)
Parameters
inputCodedInputStream
Remarks
See the user guide for precise merge semantics.
MergeFrom(SIPDispatchRule)
Merges the given message into this one.
public void MergeFrom(SIPDispatchRule other)
Parameters
otherSIPDispatchRule
Remarks
See the user guide for precise merge semantics.
ToString()
public override string ToString()
Returns
WriteTo(CodedOutputStream)
Writes the data to the given coded output stream.
public void WriteTo(CodedOutputStream output)
Parameters
outputCodedOutputStreamCoded output stream to write the data to. Must not be null.