|
|
@ -72,6 +72,7 @@ TR__commManagerAddEndpoint(void * _this, TR_Event event) |
|
|
TR_EventDone TR_commManagerSelect(void *, TR_Event, int); |
|
|
TR_EventDone TR_commManagerSelect(void *, TR_Event, int); |
|
|
TR_EventDone TR_commManagerEnableWrite(void *, TR_Event); |
|
|
TR_EventDone TR_commManagerEnableWrite(void *, TR_Event); |
|
|
TR_EventDone TR_commManagerDisableWrite(void *, TR_Event); |
|
|
TR_EventDone TR_commManagerDisableWrite(void *, TR_Event); |
|
|
|
|
|
TR_EventDone TR_commManagerEnableRead(void *, TR_Event); |
|
|
TR_EventDone TR_commManagerClose(void *, TR_Event); |
|
|
TR_EventDone TR_commManagerClose(void *, TR_Event); |
|
|
TR_EventDone TR_commManagerShutdownRead(void *, TR_Event); |
|
|
TR_EventDone TR_commManagerShutdownRead(void *, TR_Event); |
|
|
TR_EventDone TR_commManagerShutdownWrite(void *, TR_Event); |
|
|
TR_EventDone TR_commManagerShutdownWrite(void *, TR_Event); |
|
|
@ -105,6 +106,11 @@ commManagerCvInit(TR_class_ptr cls) |
|
|
TR_CommEndPoint, |
|
|
TR_CommEndPoint, |
|
|
TR_CEP_EVENT_END_DATA, |
|
|
TR_CEP_EVENT_END_DATA, |
|
|
TR_commManagerDisableWrite); |
|
|
TR_commManagerDisableWrite); |
|
|
|
|
|
TR_EVENT_HANDLER_SET_METHOD( |
|
|
|
|
|
cls, |
|
|
|
|
|
TR_CommEndPoint, |
|
|
|
|
|
TR_CEP_EVENT_READ_BLOCK, |
|
|
|
|
|
TR_commManagerEnableRead); |
|
|
TR_EVENT_HANDLER_SET_METHOD( |
|
|
TR_EVENT_HANDLER_SET_METHOD( |
|
|
cls, |
|
|
cls, |
|
|
TR_CommEndPoint, |
|
|
TR_CommEndPoint, |
|
|
@ -124,7 +130,7 @@ commManagerCvInit(TR_class_ptr cls) |
|
|
|
|
|
|
|
|
TR_INSTANCE(TR_Hash, commManagerEventMethods); |
|
|
TR_INSTANCE(TR_Hash, commManagerEventMethods); |
|
|
TR_INIT_IFACE(TR_Class, commManagerCtor, commManagerDtor, NULL); |
|
|
TR_INIT_IFACE(TR_Class, commManagerCtor, commManagerDtor, NULL); |
|
|
TR_INIT_IFACE(TR_CommManager, NULL, NULL, NULL, NULL, NULL, NULL, NULL); |
|
|
|
|
|
|
|
|
TR_INIT_IFACE(TR_CommManager, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); |
|
|
TR_CREATE_CLASS( |
|
|
TR_CREATE_CLASS( |
|
|
TR_CommManager, |
|
|
TR_CommManager, |
|
|
TR_EventHandler, |
|
|
TR_EventHandler, |
|
|
|