class type packet_base = object
.. end
The base type of packet objects.
method get_from : unit -> string option
method set_from : string option -> unit
method get_to : unit -> string option
method set_to : string option -> unit
method get_id : unit -> string option
method set_id : string option -> unit
method get_children : unit -> Yaxpodom.content list
method set_children : Yaxpodom.content list -> unit
method get_error : unit -> Yaxpodom.txt * Yaxpodom.txt
Returns the (code,description) from the error
child of the element.
Raises Not_found
if there is no error
child.
method to_ele : unit -> Yaxpodom.ele
Emits a an element from this packet.