CppWAMP
C++11 client library for the WAMP protocol
wampdefs.hpp File Reference

Contains type definitions related to WAMP IDs and sessions. More...

#include "config.hpp"
#include <cstdint>

Go to the source code of this file.

Namespaces

 wamp
 

Typedefs

using wamp::SessionId = int64_t
 Ephemeral ID associated with a WAMP session.
 
using wamp::RequestId = int64_t
 Ephemeral ID associated with a WAMP request.
 
using wamp::SubscriptionId = int64_t
 Ephemeral ID associated with an topic subscription.
 
using wamp::PublicationId = int64_t
 Ephemeral ID associated with an event publication.
 
using wamp::RegistrationId = int64_t
 Obtains the value representing a blank RequestId.
 
using wamp::CancelMode = CallCancelMode
 Alias to CallCancelMode kept for backward compatibility. More...
 

Enumerations

enum  wamp::SessionState {
  wamp::SessionState::disconnected,
  wamp::SessionState::connecting,
  wamp::SessionState::closed,
  wamp::SessionState::establishing,
  wamp::SessionState::authenticating,
  wamp::SessionState::established,
  wamp::SessionState::shuttingDown,
  wamp::SessionState::failed
}
 Enumerates the possible states that a client or router session can be in. More...
 
enum  wamp::CallCancelMode {
  wamp::CallCancelMode::kill,
  wamp::CallCancelMode::killNoWait,
  wamp::CallCancelMode::skip
}
 Enumerates the possible call cancelling modes. More...
 

Detailed Description

Contains type definitions related to WAMP IDs and sessions.