Main Page   Compound List   File List   Compound Members   File Members  

zsend.vtc File Reference

Infrastructure for outgoing zephyrgrams. More...

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

struct  Tzoutgoing
 vt structure type for outgoing zephyrgrams. More...


Functions

func new_zoutgoing ()[zout]
 Create a new outgoing zephyr object. More...

func zout_send (zout)
 Send an outgoing zephyr. More...

func zout_std_args (zout)[args, pos]
 Get generic command arguments from an outgoing zephyr. More...


Detailed Description

Infrastructure for outgoing zephyrgrams.

Author:
David Maze <dmaze@mit.edu>
Version:
$Id$

This file provides code to provide a standard way to send outgoing zephyrgrams. new_zoutgoing() returns a vtc structure with fields for the destination of the zephyr, the body, the signature, and a sender function. The caller populates these fields and then calls zout_send() to actually send the message.

Definition in file zsend.vtc.


Function Documentation

func new_zoutgoing ( )
 

Create a new outgoing zephyr object.

This function returns a structure of type Tzoutgoing for sending an outgoing zephyr. The caller should populate this object appropriately, and then call zout_send() to send the message.

Returns:
A new object of type Tzoutgoing

Definition at line 78 of file zsend.vtc.

Referenced by Zaway(), Zback(), outbound_parse(), zaway_respond(), and zreplay().

func zout_send ( zout )
 

Send an outgoing zephyr.

This function causes an outgoing zephyr object to be sent. The function in the sender field of the outgoing zephyr is called, with zout passed as the only parameter to it.

Parameters:
zout   Outgoing object to send

Definition at line 100 of file zsend.vtc.

Referenced by Zaway(), Zback(), zaway_respond(), zephyr_outbound(), and zreplay().

func zout_std_args ( zout )
 

Get generic command arguments from an outgoing zephyr.

This function examines an outgoing zephyr object, and returns a string of parameters suitable for use with zwrite containing the class, instance, recipient, opcode, and signature of the message.

Parameters:
zout   Outgoing object to examine

Definition at line 115 of file zsend.vtc.

Referenced by zsend_zcrypt(), and zsend_zwrite().


Generated at Mon Aug 13 16:45:58 2001 for dzm-vtc by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001