jabber.connection.PubSubNode.FireError C# (CSharp) Method

FireError() private method

private FireError ( Op op, string message, XmlElement protocol ) : void
op Op
message string
protocol System.Xml.XmlElement
return void
        private void FireError(Op op, string message, XmlElement protocol)
        {
            Debug.WriteLine(string.Format("Error {0}ing pubsub node: {1}", op, message));
            this[op] = STATE.Error;

            if (OnError != null)
                OnError(this, new PubSubException(op, message, protocol));
        }