RioInterfaceTypes.h File Reference

#include "RioT.h"
#include <string>

Go to the source code of this file.

Data Structures

struct  RioDiskInfo
struct  RioStorageNodeInfo
struct  RioStreamTrafficNRT
struct  RioStreamTrafficCBR
struct  RioStreamTrafficVBR
struct  RioStreamTraffic
struct  RioRequest
struct  RioCallBackTransport

Defines

#define MaxPathSize   ( 256 )
#define MAXSTORAGEDISKSARRAY   10
#define MAXNUMSTORAGES   sizeof(unsigned long long int) * 8
#define SEARCHINTRAFFICLOGS   0
#define SEARCHINCLIENTSLOGS   1
#define INVALIDSEARCHTYPE   -1
#define SEARCHLOGSFAILED   0
#define SEARCHLOGSSUCESS   1
#define SEARCHLOGSERROR   2

Typedefs

typedef int RioResult
typedef int RioSecurity
typedef Rios64 RioObjectSize
typedef unsigned int RioAccess
typedef unsigned int RioBlock
typedef struct RioRequest RioRequest
typedef void(* callback_t )(void *callbackparm, int result)
typedef void(* cmdcallback_t )(void *callbackparm, char *cmdp, int cmdl)

Enumerations

enum  RioTrafficType { RIO_TRAFFIC_INVALID, RIO_TRAFFIC_CBR, RIO_TRAFFIC_NRT, RIO_TRAFFIC_VBR }
enum  RioStreamDirection { RioStreamDirectionRead = 0, RioStreamDirectionWrite = 1, RioStreamDirectionReadWrite = 2 }
enum  RioRequestStatus { RIO_REQUEST_FREE = 0, RIO_REQUEST_PENDING, RIO_REQUEST_COMPLETED }
enum  RioStreamType { UNICASTTRAFFIC, MULTICASTTRAFFIC }
enum  ClientMode {
  PASSIVE, LEADER, SUBLEADER, INACTIVE,
  UNAVAILABLE
}

Variables

const unsigned int MAXLOGFILESIZE = 1024*1024
const unsigned long long int MAXCOMBINEDLOGSFILESIZE = 1024*1024*1024
const unsigned int MAXPASSWORDSIZE = 8
const unsigned int MAXNUMBEROFBLOCKRETRYS = 5
const int MaxObjectInfoNameSize = 64
const int RIO_READ_ACCESS = 0x1
const int RIO_WRITE_ACCESS = 0x2
const int RIO_RW_ACCESS = 0x3
const int RIO_SHARE_READ = 0x4
const int RIO_SHARE_WRITE = 0x8
const int RIO_SHARE_RW = 0xC
const int RIO_READ_MASK = 0x5
const int RIO_WRITE_MASK = 0xA

Define Documentation

#define INVALIDSEARCHTYPE   -1

Definition at line 62 of file RioInterfaceTypes.h.

#define MAXNUMSTORAGES   sizeof(unsigned long long int) * 8

Definition at line 51 of file RioInterfaceTypes.h.

#define MaxPathSize   ( 256 )

Definition at line 37 of file RioInterfaceTypes.h.

#define MAXSTORAGEDISKSARRAY   10

Definition at line 45 of file RioInterfaceTypes.h.

#define SEARCHINCLIENTSLOGS   1

Definition at line 58 of file RioInterfaceTypes.h.

#define SEARCHINTRAFFICLOGS   0

Definition at line 57 of file RioInterfaceTypes.h.

#define SEARCHLOGSERROR   2

Definition at line 70 of file RioInterfaceTypes.h.

#define SEARCHLOGSFAILED   0

Definition at line 66 of file RioInterfaceTypes.h.

#define SEARCHLOGSSUCESS   1

Definition at line 68 of file RioInterfaceTypes.h.


Typedef Documentation

typedef void(* callback_t)(void *callbackparm, int result)

Definition at line 294 of file RioInterfaceTypes.h.

typedef void(* cmdcallback_t)(void *callbackparm, char *cmdp, int cmdl)

Definition at line 295 of file RioInterfaceTypes.h.

typedef unsigned int RioAccess

Definition at line 202 of file RioInterfaceTypes.h.

typedef unsigned int RioBlock

Definition at line 218 of file RioInterfaceTypes.h.

Definition at line 105 of file RioInterfaceTypes.h.

typedef struct RioRequest RioRequest
typedef int RioResult

Definition at line 93 of file RioInterfaceTypes.h.

typedef int RioSecurity

Definition at line 102 of file RioInterfaceTypes.h.


Enumeration Type Documentation

enum ClientMode
Enumerator:
PASSIVE 
LEADER 
SUBLEADER 
INACTIVE 
UNAVAILABLE 

Definition at line 283 of file RioInterfaceTypes.h.

00284 {
00285     PASSIVE, //Cliente est� ativo escutando algum fluxo multicast
00286     LEADER, //Cliente � l�der de algum grupo
00287     SUBLEADER, //Cliente � subl�der de algum grupo
00288     INACTIVE, //Cliente est� na lista de inativos
00289     UNAVAILABLE //Cliente que n�o est� em grupo nenhum (ativos nem inativos)
00290                 //est� indispon�vel. Usado durante transi��o de um grupo a 
00291                 //outro pelo m�todo RemoveMember da PLSessionManager.
00292 } ClientMode;

Enumerator:
RIO_REQUEST_FREE 
RIO_REQUEST_PENDING 
RIO_REQUEST_COMPLETED 

Definition at line 221 of file RioInterfaceTypes.h.

Enumerator:
RioStreamDirectionRead 
RioStreamDirectionWrite 
RioStreamDirectionReadWrite 

Definition at line 159 of file RioInterfaceTypes.h.

Enumerator:
UNICASTTRAFFIC 
MULTICASTTRAFFIC 

Definition at line 277 of file RioInterfaceTypes.h.

00278 {
00279     UNICASTTRAFFIC,
00280     MULTICASTTRAFFIC
00281 } RioStreamType;

Enumerator:
RIO_TRAFFIC_INVALID 
RIO_TRAFFIC_CBR 
RIO_TRAFFIC_NRT 
RIO_TRAFFIC_VBR 

Definition at line 133 of file RioInterfaceTypes.h.


Variable Documentation

const unsigned long long int MAXCOMBINEDLOGSFILESIZE = 1024*1024*1024

Definition at line 76 of file RioInterfaceTypes.h.

const unsigned int MAXLOGFILESIZE = 1024*1024

Definition at line 75 of file RioInterfaceTypes.h.

const unsigned int MAXNUMBEROFBLOCKRETRYS = 5

Definition at line 84 of file RioInterfaceTypes.h.

const int MaxObjectInfoNameSize = 64

Definition at line 108 of file RioInterfaceTypes.h.

const unsigned int MAXPASSWORDSIZE = 8

Definition at line 80 of file RioInterfaceTypes.h.

const int RIO_READ_ACCESS = 0x1

Definition at line 204 of file RioInterfaceTypes.h.

const int RIO_READ_MASK = 0x5

Definition at line 211 of file RioInterfaceTypes.h.

const int RIO_RW_ACCESS = 0x3

Definition at line 206 of file RioInterfaceTypes.h.

const int RIO_SHARE_READ = 0x4

Definition at line 207 of file RioInterfaceTypes.h.

const int RIO_SHARE_RW = 0xC

Definition at line 209 of file RioInterfaceTypes.h.

const int RIO_SHARE_WRITE = 0x8

Definition at line 208 of file RioInterfaceTypes.h.

const int RIO_WRITE_ACCESS = 0x2

Definition at line 205 of file RioInterfaceTypes.h.

const int RIO_WRITE_MASK = 0xA

Definition at line 212 of file RioInterfaceTypes.h.

Generated on Wed Jul 4 16:03:30 2012 for RIO by  doxygen 1.6.3