Muscle C/C++ API: communicator.hpp File Reference

communicator.hpp File Reference

#include <string>
#include <unistd.h>
#include "logger.hpp"
#include "muscle_types.h"

Go to the source code of this file.


Namespaces

namespace  muscle

Data Structures

class  muscle::Communicator

Enumerations

enum  muscle_protocol_t {
  PROTO_SEND = 4, PROTO_RECEIVE = 5, PROTO_FINALIZE = 0, PROTO_WILL_STOP = 3,
  PROTO_HAS_NEXT = 8, PROTO_KERNEL_NAME = 1, PROTO_PROPERTY = 2, PROTO_PROPERTIES = 6,
  PROTO_TMP_PATH = 7
}

Functions

int communicator_write_to_socket (void *socket_handle, void *buf, int buf_len)
int communicator_read_from_socket (void *socket_handle, void *buf, int buf_len)

Enumeration Type Documentation

Enumerator:
PROTO_SEND 
PROTO_RECEIVE 
PROTO_FINALIZE 
PROTO_WILL_STOP 
PROTO_HAS_NEXT 
PROTO_KERNEL_NAME 
PROTO_PROPERTY 
PROTO_PROPERTIES 
PROTO_TMP_PATH 


Function Documentation

int communicator_read_from_socket ( void *  socket_handle,
void *  buf,
int  buf_len 
)

int communicator_write_to_socket ( void *  socket_handle,
void *  buf,
int  buf_len 
)


Generated on Thu Oct 18 14:28:28 2012 for Muscle C/C++ API by  doxygen 1.5.6