RpcListener.cc
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00024 #include <RpcListener.h>
00025 #include <RpcState.h>
00026
00027
00028 RpcListener::~RpcListener()
00029 {}
00030
00031 void RpcListener::handleRpcResponse(BaseResponseMessage* msg,
00032 cPolymorphic* context,
00033 int rpcId, simtime_t rtt)
00034 {
00035
00036
00037 }
00038
00039 void RpcListener::handleRpcResponse(BaseResponseMessage* msg,
00040 const RpcState& state, simtime_t rtt)
00041 {
00042 handleRpcResponse(msg, state.getContext(), state.getId(), rtt);
00043 }
00044
00045 void RpcListener::handleRpcTimeout(BaseCallMessage* msg,
00046 const TransportAddress& dest,
00047 cPolymorphic* context, int rpcId,
00048 const OverlayKey& destKey)
00049 {
00050
00051
00052 }
00053
00054 void RpcListener::handleRpcTimeout(const RpcState& state) {
00055 handleRpcTimeout(const_cast<BaseCallMessage*>(state.getCallMsg()),
00056 state.getDest(), state.getContext(),
00057 state.getId(), state.getDestKey());
00058 }