Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

SRPC_impl.C File Reference

#include <Basics.H>
#include "SRPC.H"
#include "SRPC_impl.H"

Go to the source code of this file.

Defines

#define M(x)   (1<<(state0_pos+SRPC_impl::x))
#define ANY_STATE   (-1)
#define IS_SENDER   (1<<sender_pos)
#define IS_RECVER   (1<<recver_pos)
#define IS_CALLER   (1<<caller_pos)
#define IS_CALLEE   (1<<callee_pos)
#define EITHER_END   (IS_CALLER | IS_CALLEE)
#define FRESH_SENDER   EITHER_END | IS_SENDER | M(initial) | M(ready)
#define FRESH_RECVER   EITHER_END | IS_RECVER | M(initial) | M(ready)

Enumerations

enum  {
  rs_pos = 0, recver_pos = 0, sender_pos = 1, cc_pos = 2,
  callee_pos = 2, caller_pos = 3, state0_pos = 4
}

Variables

const char * SRPC_VERSION = "SRPC V1.4"
const int INITIAL_WAITERS_KLUDGE = 5
chars op_names []
chars state_names []
int legal_states []


Define Documentation

#define ANY_STATE   (-1)
 

Definition at line 150 of file SRPC_impl.C.

#define EITHER_END   (IS_CALLER | IS_CALLEE)
 

Definition at line 155 of file SRPC_impl.C.

#define FRESH_RECVER   EITHER_END | IS_RECVER | M(initial) | M(ready)
 

Definition at line 157 of file SRPC_impl.C.

#define FRESH_SENDER   EITHER_END | IS_SENDER | M(initial) | M(ready)
 

Definition at line 156 of file SRPC_impl.C.

#define IS_CALLEE   (1<<callee_pos)
 

Definition at line 154 of file SRPC_impl.C.

#define IS_CALLER   (1<<caller_pos)
 

Definition at line 153 of file SRPC_impl.C.

#define IS_RECVER   (1<<recver_pos)
 

Definition at line 152 of file SRPC_impl.C.

#define IS_SENDER   (1<<sender_pos)
 

Definition at line 151 of file SRPC_impl.C.

#define M  )     (1<<(state0_pos+SRPC_impl::x))
 

Definition at line 149 of file SRPC_impl.C.


Enumeration Type Documentation

anonymous enum
 

Enumeration values:
rs_pos 
recver_pos 
sender_pos 
cc_pos 
callee_pos 
caller_pos 
state0_pos 

Definition at line 141 of file SRPC_impl.C.


Variable Documentation

const int INITIAL_WAITERS_KLUDGE = 5
 

Definition at line 53 of file SRPC_impl.C.

Referenced by SRPC_listener::create().

int legal_states[]
 

Definition at line 159 of file SRPC_impl.C.

chars op_names[]
 

Initial value:

 {
  "start_call",       "await_call",
  "send_int32",       "recv_int32",
  "send_chars",       "recv_chars",      "recv_chars_here", 
  "send_bytes",       "recv_bytes",      "recv_bytes_here",
  "send_text",        "recv_text",
  "send_socket",      "recv_socket",
  "send_int32_seq",   "recv_int32_seq",
  "send_chars_seq",   "recv_chars_seq",
  "send_bytes_seq",   "recv_bytes_seq",
  "send_seq_start",   "recv_seq_start", "send_seq_end",    "recv_seq_end",
  "send_end",         "recv_end",
  "send_failure",

  
  "send_int16",       "recv_int16",
  "send_int16_array", "recv_int16_array",
  "send_int64",       "recv_int64",

  "send_int32_array", "recv_int32_array",
  "send_int64_array", "recv_int64_array",

  "send_bool",        "recv_bool"
}

Definition at line 112 of file SRPC_impl.C.

const char* SRPC_VERSION = "SRPC V1.4"
 

Definition at line 51 of file SRPC_impl.C.

Referenced by SRPC_impl::read_item_code(), and SRPC_impl::send_item_code().

chars state_names[]
 

Initial value:

 {
  "initial", "ready", "data_out", "seq_out", "data_in", "seq_in", "failed"
}

Definition at line 137 of file SRPC_impl.C.


Generated on Mon May 8 00:49:05 2006 for Vesta by  doxygen 1.4.2