#include <smartPushServerPattern.hh>
◆ PushServerServiceHandler()
SmartACE::PushServerServiceHandler::PushServerServiceHandler |
( |
ACE_Reactor * |
reactor = ACE_Reactor::instance() | ) |
|
Default constructor and destructor.
◆ ~PushServerServiceHandler()
virtual SmartACE::PushServerServiceHandler::~PushServerServiceHandler |
( |
| ) |
|
|
virtual |
◆ acknowledgmentConnect()
Smart::StatusCode SmartACE::PushServerServiceHandler::acknowledgmentConnect |
( |
int |
cid, |
|
|
int |
status |
|
) |
| |
|
virtual |
◆ acknowledgmentDisconnect()
Smart::StatusCode SmartACE::PushServerServiceHandler::acknowledgmentDisconnect |
( |
| ) |
|
|
virtual |
◆ acknowledgmentSubscribe()
Smart::StatusCode SmartACE::PushServerServiceHandler::acknowledgmentSubscribe |
( |
int |
active | ) |
|
|
virtual |
◆ activationState()
Smart::StatusCode SmartACE::PushServerServiceHandler::activationState |
( |
int |
active | ) |
|
|
virtual |
◆ open()
virtual int SmartACE::PushServerServiceHandler::open |
( |
void * |
handler = 0 | ) |
|
|
virtual |
Initialization to create and activate an instance of this ACE_Svc_Handler class.
Here, memory allocation and ACE_Svc_Handler parameterization takes place. The default implementation just calls the same method from parent class.
- Parameters
-
handler | A pointer to the parent controlling class (in this case ACE_Connector or ACE_Acceptor) |
- Returns
- error-code
- A "-1" determines an error
- A "0" is returned if all goes right
Reimplemented from SmartACE::ServiceHandler.
◆ serverInformation()
Smart::StatusCode SmartACE::PushServerServiceHandler::serverInformation |
( |
unsigned long |
cycle, |
|
|
int |
active |
|
) |
| |
|
virtual |
◆ serverInitiatedDisconnect()
Smart::StatusCode SmartACE::PushServerServiceHandler::serverInitiatedDisconnect |
( |
int |
cid | ) |
|
|
virtual |
◆ update()
Smart::StatusCode SmartACE::PushServerServiceHandler::update |
( |
const SmartMessageBlock * |
, |
|
|
int |
sid |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following file:
- smartPushServerPattern.hh