![]() |
OpenMash Documentations | Class Index | Method Index | Class Hierarchy |
TCL CLASS
ASCPPacket
This object represents an ASCP message/packet. We hide the format and the content of the packet from the users, so that we can easily add a new field, or rearrange the fields. The method to_string{} converts the packet to a string (for transmission) and method from_string{} parses a packet into an object. Method from_ascp{} takes in an operation and an ASCP object, and copies the contents of the packet from the ASCP object. Individual fields can be queried or modified using methods named after the field.
init, to_string, from_ascp, from_string, agent_type, agent_id, operation, service_type, service_location, service_instance, precondition, ssg_port, args
ASCPPacket instproc init { }
ASCPPacket instproc to_string { }
ASCPPacket instproc from_ascp { operation ascp }
ASCPPacket instproc from_string { str }
ASCPPacket instproc agent_type { args }
ASCPPacket instproc agent_id { args }
ASCPPacket instproc operation { args }
ASCPPacket instproc service_type { args }
ASCPPacket instproc service_location { args }
ASCPPacket instproc service_instance { args }
ASCPPacket instproc precondition { args }
ASCPPacket instproc ssg_port { args }
ASCPPacket instproc args { args }
tcl/indiva/lib/ascp-packet.tcl
ASCP, ASCP/Client, ASCP/Server, ASCP/Manager
Generated on Mon Apr 12 04:04:16 PDT 2004