All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sir_isocket.h
Go to the documentation of this file.
1 /*
2  * sir_isocket.h
3  *
4  * Created on: Apr 8, 2014
5  * Author: root
6  */
7 
8 #ifndef SIR_ISOCKET_H_
9 #define SIR_ISOCKET_H_
10 
12 #include "ipv6/sir_ipv6_includes.h"
13 #include "eth/sir_port_info.h"
14 
16 
20 class ISirius
21 {
22 public:
23 
25 
29  virtual void Read_Notification(int fd, void *pContext) = 0;
30 
32 
37  virtual void Close_Notification(int fd, void *pContext);
38 
40 
44  virtual void Reset_Rx_Notification(int fd, void *pContext);
45 
47 
52  virtual void Reset_Tx_Notification(int fd, void *pContext);
53 
55 
59  virtual void Accept_Notification(int fd, void *pContext);
60 
62 
66  virtual void ConnError_Notification(int fd, void *pContext);
67 
69 
73  virtual void ConnEst_Notification(int fd, void *pContext);
74 
76 
81  virtual void ConnCanSend_Notification(int fd, void *pContext);
82 
84 
87  virtual void Timer_Notification(int fd, void *pContext);
88 
90 
93  virtual void SysTimer_Notification(void);
94 
96 
102  virtual void Retransmit_Notification(int fd, void *pContext, void *pUserAux, sir_memlist_seg *ptSegment);
103 
105 
109  virtual void PortStatusChanged(int iPortNr, CSystemInfo::prt_linkstatus_t *ptPortStatusNew);
110 };
111 #endif /* SIR_ISOCKET_H_ */
Sirius interface class.
Definition: sir_isocket.h:20
virtual void ConnEst_Notification(int fd, void *pContext)
Notification indicates the client connection is was successfully established.
virtual void Retransmit_Notification(int fd, void *pContext, void *pUserAux, sir_memlist_seg *ptSegment)
Notification that a retransmitted UDP or RAW packet is received.
virtual void PortStatusChanged(int iPortNr, CSystemInfo::prt_linkstatus_t *ptPortStatusNew)
Notification that a status on a port has changed.
virtual void Close_Notification(int fd, void *pContext)
Notification indicating a close.
virtual void Accept_Notification(int fd, void *pContext)
Notification indicating a new server connection is eminent.
virtual void SysTimer_Notification(void)
Notification occurs once every 500msec for this instance of Sirius.
virtual void Reset_Rx_Notification(int fd, void *pContext)
Notification indicating a RST was received from the remote side.
virtual void Reset_Tx_Notification(int fd, void *pContext)
Notification indicating a RST was transmitted.
virtual void Read_Notification(int fd, void *pContext)=0
Notification indicating data is available.
virtual void ConnCanSend_Notification(int fd, void *pContext)
Notification indicating So_Send can be called again because peer has room for new data...
virtual void ConnError_Notification(int fd, void *pContext)
Notification indicates the client connection could not be established and has timed out...
virtual void Timer_Notification(int fd, void *pContext)
Notification occurs once every second for this connection.