home 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.

METHODS

init, to_string, from_ascp, from_string, agent_type, agent_id, operation, service_type, service_location, service_instance, precondition, ssg_port, args

init

ASCPPacket instproc init { }

to_string

ASCPPacket instproc to_string { }

from_ascp

ASCPPacket instproc from_ascp { operation ascp }

from_string

ASCPPacket instproc from_string { str }

agent_type

ASCPPacket instproc agent_type { args }

agent_id

ASCPPacket instproc agent_id { args }

operation

ASCPPacket instproc operation { args }

service_type

ASCPPacket instproc service_type { args }

service_location

ASCPPacket instproc service_location { args }

service_instance

ASCPPacket instproc service_instance { args }

precondition

ASCPPacket instproc precondition { args }

ssg_port

ASCPPacket instproc ssg_port { args }

args

ASCPPacket instproc args { args }

FILENAME

tcl/indiva/lib/ascp-packet.tcl

SEE ALSO

ASCP, ASCP/Client, ASCP/Server, ASCP/Manager


Generated on Mon Apr 12 04:04:16 PDT 2004