Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

mctxhandler.c File Reference

#include "mctxhandler.h"

Functions

aw_mctxhandler_t * aw_create_mctxhandler (const byte_t *filename, u_int32_t rate, u_int32_t messagesize, const byte_t *mcaddress, u_int32_t mcport, const byte_t *mcinterface, u_int32_t mcloopback, u_int32_t retxport, aw_timestamp_t timeout, const aw_mctxhandler_events_t *events, int32_t(*regevent)(aw_handler_t *h, aw_address_t *eventid, u_int32_t index), int32_t(*regmaskevent)(aw_handler_t *h, aw_address_t *eventid, u_int32_t index), const aw_alarm_sched_t *sched, aw_logger_t *logger)
 Create a mctxhandler.

void aw_free_mctxhandler (aw_mctxhandler_t *h)
 Free mctxhandler.

aw_handler_t * aw_wire_mctxhandler (aw_wire_mkhandler_args_t *args)


Function Documentation

aw_mctxhandler_t* aw_create_mctxhandler (  const byte_t *  filename,
u_int32_t  rate,
u_int32_t  messagesize,
const byte_t *  mcaddress,
u_int32_t  mcport,
const byte_t *  mcinterface,
u_int32_t  mcloopback,
u_int32_t  retxport,
aw_timestamp_t  timeout,
const aw_mctxhandler_events_t *  events,
int32_t(*  regevent)(aw_handler_t *h, aw_address_t *eventid, u_int32_t index),
int32_t(*  regmaskevent)(aw_handler_t *h, aw_address_t *eventid, u_int32_t index),
const aw_alarm_sched_t *  sched,
aw_logger_t *  logger
) 
 

Create a mctxhandler.

aw_create_mctxhandler

Parameters:
filename File to send
rate The maximum transmit rate as megabits/sec
messagesize The size of muticast message
mcaddress Multicast address
mcport Multicast port
mcinterface Interface name to send multicast, may be NULL to default
mcloopback If nonzero, then enable multicast to current machine. If zero, then do not.
retxport Port to listen for retransmit requests
timeout Time to wait idle after sending file for client re-transmit requests
events Events to send for each file
sched Run schedule
regevent Function pointer for event registration
regmaskevent Function pointer for event mask registration
logger Logger object
Returns:
Handler object

void aw_free_mctxhandler (  aw_mctxhandler_t *  h  ) 
 

Free mctxhandler.

aw_handler_t* aw_wire_mctxhandler (  aw_wire_mkhandler_args_t *  args  ) 
 

Aware 0.11.1 Copyright (C) 1998-2005 Russell Leighton (russ@elegant-software.com)