Savarese Software Research Corporation

ssrc::wisp::protocol Namespace Reference

Namespaces

namespace  detail
 

The protocol::detail namespace defines implementation-specific structures that are not intended for use by library client code.


Classes

struct  CallTraits
 The three-parameter CallTraits template defines all the type information characterizing a TwoWay call. More...
struct  CallTraits< CallerType, ParameterType, detail::VoidReturnType >
 The two-parameter CallTraits template defines all the type information characterizing a OneWay call. More...
class  CallException
 A CallException is thrown when a call cannot complete because of an unexpected condition. More...
struct  CallHeader
 Every call is described by a CallHeader followed by a message. More...
struct  MessageInfo
 Stores all information associated with a received call, including the raw message data. More...
class  Caller

Typedefs

typedef std::uint32_t wisp_call_token
 The type of a call token.
typedef std::uint8_t wisp_call_role
 The type used by the CallHeader to store the CallRole of the call being made.
typedef boost::shared_ptr
< MessageInfo
message_info_ptr

Enumerations

enum  CallType { OneWay, TwoWay }
 

CallType defines allowable messaging call types.

More...
enum  CallRole { OneWayRequest, TwoWayRequest, TwoWayResponse }
 

The role of a call being made.

More...

Variables

const Message::Service DefaultMessageServiceType = Message::SafeSelfDiscard
 Wisp calls can request a Spread message service type if desired.
const bool GroupMembershipEnable = true
const bool GroupMembershipDisable = false

Typedef Documentation

Definition at line 297 of file Caller.h.

The type used by the CallHeader to store the CallRole of the call being made.

Definition at line 163 of file Caller.h.

The type of a call token.

Every call made by a Caller instance is identified by a unique token.

Definition at line 157 of file Caller.h.


Enumeration Type Documentation

The role of a call being made.

This is similar to CallType, but is used in the CallHeader to identify the role of a message participating in a call.

Enumerator:
OneWayRequest 

The message is part of a OneWay call.

TwoWayRequest 

The message is initiating a TwoWay call.

TwoWayResponse 

The message is completing a TwoWay call.

Definition at line 171 of file Caller.h.

CallType defines allowable messaging call types.

Currently only one-way and two-way calls are supported. In the future, a multi-way call type may be added, involving a single request and multiple responses (from different responder). A streaming call may also be added, where a single request results in a stream of responses from a single responder.

Enumerator:
OneWay 

A fire and forget invocation.

No return value is expected.

TwoWay 

Requires a single request and a single response.

Definition at line 49 of file Caller.h.


Variable Documentation

const Message::Service ssrc::wisp::protocol::DefaultMessageServiceType = Message::SafeSelfDiscard

Wisp calls can request a Spread message service type if desired.

If not specified, DefaultMessageServiceType is used.

Definition at line 39 of file Caller.h.

Definition at line 300 of file Caller.h.

Definition at line 299 of file Caller.h.


Savarese Software Research Corporation
Copyright © 2006-2010 Savarese Software Research Corporation. All rights reserved.