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

RemoteSocket Class Reference

#include <remotesocket.h>

Inheritance diagram for RemoteSocket::

TCPSocket DataClient DataServer DataServerMPI List of all members.

Public Methods

 RemoteSocket ()
 Server. More...

 ~RemoteSocket ()
int SetPrintFlag (int flag)
int SendLine (char *fmt,...)
int RecvLine (char *line)
int PrintRecvLine ()
int SendFile (char *filename)
int RecvFile (char *filename)
template<class Etype> int SendVar (Etype a)
template<class Etype> int RecvVar (Etype *a)
template<class Etype> Etype RecvVar ()
int SendArrayGeneric (void *a, int totsize, int elemsize)
int RecvArrayGeneric (void *a, int totsize, int elemsize)
template<class Etype> int SendArray1D (Etype *a, int n1)
template<class Etype> int RecvArray1D (Etype *a, int n1)
template<class Etype> int SendArray2D (Etype **a, int n1, int n2)
template<class Etype> int RecvArray2D (Etype **a, int n1, int n2)
template<class Etype> int SendArray3D (Etype ***a, int n1, int n2, int n3)
template<class Etype> int RecvArray3D (Etype ***a, int n1, int n2, int n3)
template<class Etype> int SendArray4D (Etype ****a, int n1, int n2, int n3, int n4)
template<class Etype> int RecvArray4D (Etype ****a, int n1, int n2, int n3, int n4)
template<class myStruct> double RecvStruct (myStruct *S, Semaphore *sem=NULL)
template<class myStruct> int SendStruct (myStruct *S, Semaphore *sem=NULL)

Protected Attributes

int print_flag

Constructor & Destructor Documentation

RemoteSocket::RemoteSocket   [inline]
 

Server.

RemoteSocket::~RemoteSocket   [inline]
 


Member Function Documentation

int RemoteSocket::PrintRecvLine  
 

template<class Etype>
int RemoteSocket::RecvArray1D Etype *    a,
int    n1
[inline]
 

template<class Etype>
int RemoteSocket::RecvArray2D Etype **    a,
int    n1,
int    n2
[inline]
 

template<class Etype>
int RemoteSocket::RecvArray3D Etype ***    a,
int    n1,
int    n2,
int    n3
[inline]
 

template<class Etype>
int RemoteSocket::RecvArray4D Etype ****    a,
int    n1,
int    n2,
int    n3,
int    n4
[inline]
 

int RemoteSocket::RecvArrayGeneric void *    a,
int    totsize,
int    elemsize
[inline]
 

int RemoteSocket::RecvFile char *    filename
 

int RemoteSocket::RecvLine char *    line
 

template<class myStruct>
double RemoteSocket::RecvStruct myStruct *    S,
Semaphore   sem = NULL
 

template<class Etype>
Etype RemoteSocket::RecvVar   [inline]
 

template<class Etype>
int RemoteSocket::RecvVar Etype *    a
 

template<class Etype>
int RemoteSocket::SendArray1D Etype *    a,
int    n1
[inline]
 

template<class Etype>
int RemoteSocket::SendArray2D Etype **    a,
int    n1,
int    n2
[inline]
 

template<class Etype>
int RemoteSocket::SendArray3D Etype ***    a,
int    n1,
int    n2,
int    n3
[inline]
 

template<class Etype>
int RemoteSocket::SendArray4D Etype ****    a,
int    n1,
int    n2,
int    n3,
int    n4
[inline]
 

int RemoteSocket::SendArrayGeneric void *    a,
int    totsize,
int    elemsize
[inline]
 

int RemoteSocket::SendFile char *    filename
 

int RemoteSocket::SendLine char *    fmt,
...   
 

template<class myStruct>
int RemoteSocket::SendStruct myStruct *    S,
Semaphore   sem = NULL
 

template<class Etype>
int RemoteSocket::SendVar Etype    a
 

int RemoteSocket::SetPrintFlag int    flag [inline]
 

Reimplemented in DataClient.


Member Data Documentation

int RemoteSocket::print_flag [protected]
 


The documentation for this class was generated from the following files:
Generated on Sun Jun 16 17:36:51 2002 for Anirudh's Vortex-Wake Simulation Code by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001