Forwarder.cc
Go to the documentation of this file.
RefCount< AsyncCallT< Dialer > > asyncCall(int aDebugSection, int aDebugLevel, const char *aName, const Dialer &aDialer)
Definition: AsyncCall.h:156
void error(char *format,...)
Definition: CommCalls.h:166
Definition: CommCalls.h:128
Definition: Address.h:41
virtual void handleException(const std::exception &e)
terminate with an error
Definition: Forwarder.cc:132
static String CoordinatorAddr()
get the IPC message address for coordinator process
Definition: Port.cc:65
Definition: RequestId.h:23
struct msghdr with a known type, fixed-size I/O and control buffers
Definition: TypedMsgHdr.h:35
Definition: Forwarder.h:29
void swanSong() override
removes our cleanup handler of the client connection socket
Definition: Forwarder.cc:38
void noteCommClosed(const CommCloseCbParams ¶ms)
called when the client socket gets closed by some external force
Definition: Forwarder.cc:52
void handleException(const std::exception &e) override
terminate with an error
Definition: Forwarder.cc:69
Forwarder(const Pdu &aPdu, const Session &aSession, int aFd, const Ip::Address &anAddress)
Definition: Forwarder.cc:24
Definition: Response.h:24
AsyncCall::Pointer comm_add_close_handler(int fd, CLCB *handler, void *data)
Definition: comm.cc:949
void comm_remove_close_handler(int fd, CLCB *handler, void *data)
Definition: comm.cc:978
int comm_udp_sendto(int fd, const Ip::Address &to_addr, const void *buf, int len)
Definition: comm.cc:918
int KidIdentifier
CBDATA_NAMESPACED_CLASS_INIT(Mgr, Forwarder)
Definition: IpcIoFile.h:24
void SendMessage(const String &toAddress, const TypedMsgHdr &message)
Definition: UdsOp.cc:188
Definition: forward.h:15
int snmp_build(struct snmp_session *, struct snmp_pdu *, u_char *, int *)
Definition: snmp_api.c:106
struct snmp_pdu * snmpAgentResponse(struct snmp_pdu *PDU)
Definition: snmp_core.cc:460
Definition: snmp_pdu.h:50