Forwarder.cc
Go to the documentation of this file.
AsyncCall * asyncCall(int aDebugSection, int aDebugLevel, const char *aName, const Dialer &aDialer)
Definition: AsyncCall.h:154
void error(char *format,...)
Definition: CommCalls.h:181
Definition: CommCalls.h:133
Definition: Address.h:41
virtual void handleException(const std::exception &e)
terminate with an error
Definition: Forwarder.cc:134
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:33
Definition: Forwarder.h:28
virtual void handleException(const std::exception &e)
terminate with an error
Definition: Forwarder.cc:69
void noteCommClosed(const CommCloseCbParams ¶ms)
called when the client socket gets closed by some external force
Definition: Forwarder.cc:52
Forwarder(const Pdu &aPdu, const Session &aSession, int aFd, const Ip::Address &anAddress)
Definition: Forwarder.cc:24
virtual void swanSong()
removes our cleanup handler of the client connection socket
Definition: Forwarder.cc:38
Definition: Response.h:24
AsyncCall::Pointer comm_add_close_handler(int fd, CLCB *handler, void *data)
Definition: comm.cc:921
void comm_remove_close_handler(int fd, CLCB *handler, void *data)
Definition: comm.cc:950
int comm_udp_sendto(int fd, const Ip::Address &to_addr, const void *buf, int len)
Definition: comm.cc:890
int KidIdentifier
CBDATA_NAMESPACED_CLASS_INIT(Ipc, 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:456
Definition: snmp_pdu.h:50