Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Muxer.C File Reference

#include <stdio.h>
#include <sched.h>
#include <unistd.h>
#include <time.h>
#include <ctype.h>
#include <list>
#include "Connector.h"
#include "ConnectionWrap.h"
#include "BufferedFile.h"
#include "BufferedFileFactory.h"
#include "ConnectionFactory.h"
#include "Connection.h"
#include "FilterConnection.h"
#include "OutputConnection.h"
#include "Clock.h"
#include "connect.h"

Include dependency graph for Muxer.C:

Include dependency graph

Go to the source code of this file.

Defines

#define BUFFSIZE   512
 The Buffersize.


Functions

int connect (hostent *he, int port)
 Connect to a host using the port and the hostentry.

bool isNum (char *arg)
 is the current string a number?

string getIP (int ip)
 Get the IP address of an int as a string.

int main (int argc, char *argv[])
 accepts hostname pairs


Define Documentation

#define BUFFSIZE   512
 

The Buffersize.

Definition at line 20 of file Muxer.C.

Referenced by main().


Function Documentation

int connect hostent *    he,
int    port
 

Connect to a host using the port and the hostentry.

Definition at line 2 of file connect.C.

Referenced by main().

string getIP int    ip
 

Get the IP address of an int as a string.

Definition at line 166 of file Muxer.C.

bool isNum char *    arg
 

is the current string a number?

Definition at line 158 of file Muxer.C.

Referenced by main().

int main int    argc,
char *    argv[]
 

accepts hostname pairs

Definition at line 36 of file Muxer.C.

References BUFFSIZE, Clock::clock, connect(), BufferedFileFactory::getNewBufferedFile(), isNum(), BufferedFileFactory::process(), BufferedFile::setReadOnly(), BufferedFile::setWriteOnly(), SHORTCONN, ConnectionWrap::write(), and ConnectionWrap::writeReady().


Generated on Tue Dec 17 21:14:33 2002 for AUSS_Connector by doxygen1.2.18