Example #1
0
        public InterestsEvent(cHaggleEvent e)
            : base(e)
        {
            if (e.type != HaggleEvent.INTEREST_LIST)
            {
                throw new Exception("Not an interest list event");
            }

            interests = new Attribute.AttributeList(e.data);
        }
Example #2
0
 public int DeleteInterests(Attribute.AttributeList al)
 {
     return(UnmanagedDeleteInterests(handle, al.cAttrList));
 }
Example #3
0
        public InterestsEvent(cHaggleEvent e)
            : base(e)
        {
            if (e.type != HaggleEvent.INTEREST_LIST)
                        {
                                throw new Exception("Not an interest list event");
                        }

                        interests = new Attribute.AttributeList(e.data);
        }