class <Agent/SRM/SSM> SSMSRMAgent : public SRMAgent


Inheritance:


Public Fields

Agent/SRM/SSM instvar activeloc_
Agent/SRM/SSM instvar activerep_
Agent/SRM/SSM instvar addr_
Agent/SRM/SSM instvar ch_globalID_
Agent/SRM/SSM instvar ch_localID_
Agent/SRM/SSM instvar deactivateID_
Agent/SRM/SSM instvar deactivatelocID_
Agent/SRM/SSM instvar global-scope
Agent/SRM/SSM instvar local_scope_
Agent/SRM/SSM instvar ns_
Agent/SRM/SSM instvar numloc_
Agent/SRM/SSM instvar numrep_
Agent/SRM/SSM instvar rep_id_
Agent/SRM/SSM instvar repthresh_low_
Agent/SRM/SSM instvar repthresh_up_
Agent/SRM/SSM instvar S1_
Agent/SRM/SSM instvar S2_
Agent/SRM/SSM instvar scope_flag_
Agent/SRM/SSM instvar session_
Agent/SRM/SSM instvar sessionDelay_
Agent/SRM/SSM instvar tentativerep_
Agent/SRM/SSM instvar tentativettl_
Agent/SRM/SSM instvar Z1_

Public Methods

Agent/SRM/SSM instproc bias {}
Agent/SRM/SSM instproc ch-global {}
Agent/SRM/SSM instproc ch-local {}
Agent/SRM/SSM instproc check-status {}
int command(int argc, const char*const* argv)
Agent/SRM/SSM instproc compute-globaldelay {}
Agent/SRM/SSM instproc compute-localdelay {}
Agent/SRM/SSM instproc cur-num-reps {}
Agent/SRM/SSM instproc deactivate-locs {time}
Agent/SRM/SSM instproc deactivate-reps {time}
Agent/SRM/SSM instproc dump-locs {}
Agent/SRM/SSM instproc dump-reps {}
Agent/SRM/SSM instproc global-member
Agent/SRM/SSM instproc global-rep {}
Agent/SRM/SSM instproc init {}
Agent/SRM/SSM instproc local-member
Agent/SRM/SSM instproc local-member {}
Agent/SRM/SSM instproc member-scope {scope }
Agent/SRM/SSM instproc my-loc {}
void recv(Packet* p, Handler* h)
Agent/SRM/SSM instproc recv-gsess {sender ttl}
Agent/SRM/SSM instproc recv-lsess {sender repid ttl}
Agent/SRM/SSM instproc repchange-action {}
Agent/SRM/SSM instproc repid { rep}
Agent/SRM/SSM instproc schedule-ch-global {}
Agent/SRM/SSM instproc schedule-ch-local {}
Agent/SRM/SSM instproc send-session {}
Agent/SRM/SSM instproc set-global-scope {scope}
Agent/SRM/SSM instproc set-local-scope {scope}
Agent/SRM/SSM instproc set-repid {rep}
SSMSRMAgent()
Agent/SRM/SSM instproc start {}

Private Fields

int glb_sessCtr_
of global session messages sent
int groupScope_
Scope of the group, ttl
int loc_sessCtr_
of local session messages sent
int localScope_
Scope of the local messages, ttl
int off_srm_ext_
int rep_sessCtr_
of rep session messages sent
int repid_
int scopeFlag_
int senderFlag_

Private Methods

int is_active(SRMinfo *sp)
void recv_data(int sender, int id, int repid, u_char* data)
void recv_glb_sess(int sessCtr, int* data, Packet *p)
void recv_loc_sess(int sessCtr, int* data, Packet *p)
void recv_rep_sess(int sessCtr, int* data, Packet *p)
void recv_rqst(int requestor, int round, int sender, int repid, int msgid)
void recv_repr(int sender, int msgid, int repid, u_char* data);
void recv_sess(int sessCtr, int* data, Packet *p)
void send_ctrl(int type, int round, int sender, int msgid, int size)
void send_glb_sess()
void send_loc_sess()
void send_rep_sess()
void send_sess()
void timeout_info()

Inherited from SRMAgent:

Public Fields

Agent/SRM instvar done_
Agent/SRM instvar dst_addr_
Agent/SRM instvar logfile_
Agent/SRM instvar node_
Agent/SRM instvar old_
Agent/SRM instvar pending_
Agent/SRM instvar repairFunction_
Agent/SRM instvar requestFunction_
Agent/SRM instvar sessionFunction_
Agent/SRM instvar stats_
Agent/SRM instvar tg_
Agent/SRM instvar trace_

Public Methods

Agent/SRM instproc cleanup {}
Agent/SRM instproc clear {obj s m}
Agent/SRM instproc compute-ave var
Agent/SRM instproc delete {}
Agent/SRM instproc groupSize
Agent/SRM instproc log file
Agent/SRM instproc mark-period period
Agent/SRM instproc recv-data {sender msgid}
Agent/SRM instproc recv-repair {round sender msgid}
Agent/SRM instproc recv-request {requestor round sender msgid}
Agent/SRM instproc repair {requestor sender msgid}
Agent/SRM instproc repairFunction f
Agent/SRM instproc request {sender args}
Agent/SRM instproc requestFunction f
Agent/SRM instproc round
virtual void send(int nbytes)
virtual void sendmsg(int nbytes, const char *flags = 0)
Agent/SRM instproc sessionFunction f
Agent/SRM instproc start-source {}
Agent/SRM instproc trace file
Agent/SRM instproc update-ave {type delay}

Protected Fields

int app_fid_
packet_t app_type_
int dataCtr_
int groupSize_
int off_cmn_
int off_rtp_
int off_srm_
int packetSize_
int seqno_
int sessCtr_
SRMinfo* sip_
Tcl_HashTable* siphash_

Protected Methods

virtual void addExtendedHeaders(Packet*)
virtual void cleanup()
SRMinfo* get_state(int sender)
virtual void parseExtendedHeaders(Packet*)
virtual void recv_repr(int round, int sender, int msgid, u_char* data)
virtual int request(SRMinfo* sp, int hi)

Inherited from Agent:

Public Fields

Agent instvar agent_port_
Agent instvar dst_port_
Agent instvar namTrace_

Public Methods

inline nsaddr_t& addr()
Agent instproc attach-app {s_type}
Agent instproc attach-source {s_type}
Agent instproc attach-tbf { tbf }
Agent instproc attach-trace { file }
virtual void attachApp(Application* app)
virtual void close()
virtual void connect(nsaddr_t dst)
Agent instproc connect d
inline nsaddr_t& daddr()
inline nsaddr_t& dport()
Agent instproc dst-port {}
virtual void listen()
Agent instproc port {}
inline nsaddr_t& port()
virtual void sendto(int nbytes, const char* flags, nsaddr_t dst)
virtual void sendto(int sz, AppData*, const char* flags = 0)
Agent instproc set args
void set_pkttype(packet_t pkttype)
virtual int& size()
virtual void timeout(int tno)
Agent instproc traffic-source agent

Protected Fields

Application* app_
Tcl_Channel channel_
int class_
int defttl_
ns_addr_t dst_
int fid_
int flags_
ns_addr_t here_
int off_ip_
OldValue* oldValueList_
int prio_
int size_
char* traceName_
packet_t type_
static int uidcnt_

Protected Methods

void addAgentTrace(const char *name)
Packet* allocpkt(int)
Packet* allocpkt()
virtual int delay_bind_dispatch(const char *varName, const char *localName, TclObject *tracer)
virtual void delay_bind_init_all()
void deleteAgentTrace()
void dumpTracedVars()
virtual void idle()
void initpkt(Packet*)
void insertOldValue(TracedVar *v, const char *value)
OldValue* lookupOldValue(TracedVar *v)
void monitorAgentTrace()
virtual void recvBytes(int bytes)

Private Methods

void flushAVar(TracedVar *v)

Inherited from Connector:

Public Methods

virtual void drop(Packet* p)
inline NsObject* target()

Protected Fields

NsObject* drop_
NsObject* target_

Protected Methods

virtual void drop(Packet* p, const char *s)

Inherited from NsObject:

Public Methods

virtual void debug(const char *fmt, ...)
int isdebug()

Protected Fields

int debug_
int off_flags_

Protected Methods

void handle(Event*)
virtual void reset()

Inherited from Handler:


Documentation

int glb_sessCtr_
of global session messages sent

int loc_sessCtr_
of local session messages sent

int rep_sessCtr_
of rep session messages sent

int scopeFlag_

int groupScope_
Scope of the group, ttl

int localScope_
Scope of the local messages, ttl

int senderFlag_

int repid_

int off_srm_ext_

void recv_data(int sender, int id, int repid, u_char* data)

void recv_rqst(int requestor, int round, int sender, int repid, int msgid)
void recv_repr(int sender, int msgid, int repid, u_char* data);

void recv_sess(int sessCtr, int* data, Packet *p)

void recv_glb_sess(int sessCtr, int* data, Packet *p)

void recv_loc_sess(int sessCtr, int* data, Packet *p)

void recv_rep_sess(int sessCtr, int* data, Packet *p)

void send_ctrl(int type, int round, int sender, int msgid, int size)

void send_sess()

void send_glb_sess()

void send_loc_sess()

void send_rep_sess()

void timeout_info()

int is_active(SRMinfo *sp)

SSMSRMAgent()

int command(int argc, const char*const* argv)

void recv(Packet* p, Handler* h)

Agent/SRM/SSM instproc init {}

Agent/SRM/SSM instvar numrep_

Agent/SRM/SSM instvar numloc_

Agent/SRM/SSM instvar repthresh_up_

Agent/SRM/SSM instvar repthresh_low_

Agent/SRM/SSM instvar Z1_

Agent/SRM/SSM instproc start {}

Agent/SRM/SSM instvar deactivateID_

Agent/SRM/SSM instvar sessionDelay_

Agent/SRM/SSM instvar ns_

Agent/SRM/SSM instproc repid { rep}
Currently not used

Agent/SRM/SSM instvar rep_id_

Agent/SRM/SSM instproc member-scope {scope }

Agent/SRM/SSM instvar scope_flag_

Agent/SRM/SSM instproc local-member

Agent/SRM/SSM instproc global-member

Agent/SRM/SSM instproc local-member {}

Agent/SRM/SSM instproc global-rep {}

Agent/SRM/SSM instproc set-local-scope {scope}

Agent/SRM/SSM instvar local_scope_

Agent/SRM/SSM instproc set-global-scope {scope}

Agent/SRM/SSM instvar global-scope

Agent/SRM/SSM instproc set-repid {rep}

Agent/SRM/SSM instproc dump-reps {}

Agent/SRM/SSM instvar activerep_

Agent/SRM/SSM instproc dump-locs {}

Agent/SRM/SSM instvar activeloc_

Agent/SRM/SSM instproc send-session {}

Agent/SRM/SSM instvar session_

Agent/SRM/SSM instproc repchange-action {}

Agent/SRM/SSM instvar tentativerep_

Agent/SRM/SSM instvar tentativettl_

Agent/SRM/SSM instproc recv-lsess {sender repid ttl}

Agent/SRM/SSM instvar deactivatelocID_

Agent/SRM/SSM instvar ch_localID_

Agent/SRM/SSM instvar addr_

Agent/SRM/SSM instproc recv-gsess {sender ttl}

Agent/SRM/SSM instproc bias {}

Agent/SRM/SSM instproc my-loc {}

Agent/SRM/SSM instproc cur-num-reps {}

Agent/SRM/SSM instproc compute-localdelay {}

Agent/SRM/SSM instvar S1_

Agent/SRM/SSM instvar S2_

Agent/SRM/SSM instproc compute-globaldelay {}

Agent/SRM/SSM instproc schedule-ch-local {}

Agent/SRM/SSM instproc schedule-ch-global {}

Agent/SRM/SSM instvar ch_globalID_

Agent/SRM/SSM instproc check-status {}

Agent/SRM/SSM instproc ch-local {}

Agent/SRM/SSM instproc ch-global {}

Agent/SRM/SSM instproc deactivate-reps {time}

Agent/SRM/SSM instproc deactivate-locs {time}


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

Adapted for the NS documentation page

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de