OverSim
RpcState Class Reference

#include <RpcState.h>

Public Member Functions

int getId () const
const TransportAddressgetDest () const
const OverlayKeygetDestKey () const
BaseCallMessagegetCallMsg () const
cPolymorphic * getContext () const

Private Attributes

int id
int retries
TransportType transportType
RoutingType routingType
CompType destComp
CompType srcComp
RpcListenerlistener
const TransportAddressdest
OverlayKey destKey
BaseCallMessagecallMsg
RpcTimeoutMessagetimeoutMsg
simtime_t timeSent
simtime_t rto
cPolymorphic * context

Friends

class BaseRpc

Detailed Description

Definition at line 32 of file RpcState.h.

Member Function Documentation

BaseCallMessage* RpcState::getCallMsg ( ) const
inline
cPolymorphic* RpcState::getContext ( ) const
inline
const TransportAddress& RpcState::getDest ( ) const
inline

Definition at line 38 of file RpcState.h.

Referenced by RpcListener::handleRpcTimeout(), and Broose::handleRpcTimeout().

{ return *dest; }
const OverlayKey& RpcState::getDestKey ( ) const
inline

Definition at line 39 of file RpcState.h.

Referenced by RpcListener::handleRpcTimeout(), and Broose::handleRpcTimeout().

{ return destKey; }
int RpcState::getId ( ) const
inline

Friends And Related Function Documentation

friend class BaseRpc
friend

Definition at line 34 of file RpcState.h.

Member Data Documentation

BaseCallMessage* RpcState::callMsg
private
cPolymorphic* RpcState::context
private
const TransportAddress* RpcState::dest
private
CompType RpcState::destComp
private

Definition at line 48 of file RpcState.h.

Referenced by BaseRpc::internalHandleRpcMessage(), and BaseRpc::sendRpcCall().

OverlayKey RpcState::destKey
private

Definition at line 52 of file RpcState.h.

Referenced by getDestKey(), BaseRpc::internalHandleRpcMessage(), and BaseRpc::sendRpcCall().

int RpcState::id
private

Definition at line 44 of file RpcState.h.

Referenced by getId(), BaseRpc::internalHandleRpcMessage(), and BaseRpc::sendRpcCall().

RpcListener* RpcState::listener
private

Definition at line 50 of file RpcState.h.

Referenced by BaseRpc::internalHandleRpcMessage(), and BaseRpc::sendRpcCall().

int RpcState::retries
private

Definition at line 45 of file RpcState.h.

Referenced by BaseRpc::internalHandleRpcMessage(), and BaseRpc::sendRpcCall().

RoutingType RpcState::routingType
private

Definition at line 47 of file RpcState.h.

Referenced by BaseRpc::internalHandleRpcMessage(), and BaseRpc::sendRpcCall().

simtime_t RpcState::rto
private

Definition at line 56 of file RpcState.h.

Referenced by BaseRpc::internalHandleRpcMessage(), and BaseRpc::sendRpcCall().

CompType RpcState::srcComp
private

Definition at line 49 of file RpcState.h.

Referenced by BaseRpc::sendRpcCall().

RpcTimeoutMessage* RpcState::timeoutMsg
private
simtime_t RpcState::timeSent
private

Definition at line 55 of file RpcState.h.

Referenced by BaseRpc::internalHandleRpcMessage(), and BaseRpc::sendRpcCall().

TransportType RpcState::transportType
private

Definition at line 46 of file RpcState.h.

Referenced by BaseRpc::internalHandleRpcMessage(), and BaseRpc::sendRpcCall().


The documentation for this class was generated from the following file: