|
Public Types |
typedef spec::Handle | Handle |
| Service Handle definition. |
typedef spec::View | View |
| Service View definition. |
typedef spec::Holder | Holder |
| Service Holder definition. |
Public Member Functions |
virtual ServiceInfo::View | getInfo () const =0 |
| Return the ServiceInfo object for this Service. |
virtual void | addMemberListener (MemberListener::Handle hListener)=0 |
| Add a Member listener. |
virtual void | removeMemberListener (MemberListener::Handle hListener)=0 |
| Remove a Member listener. |
virtual Object::Holder | getUserContext () const =0 |
| Return the user context object associated with this Service. |
virtual void | setUserContext (Object::Holder ohCtx)=0 |
| Associate a user context object with this Service. |
virtual Serializer::View | getSerializer () const =0 |
| Return a Serializer used by this Service. |
virtual void | setThreadGroup (ThreadGroup::Handle hGroup)=0 |
| Specifies the ThreadGroup within which the Service thread will be created. |
virtual
ThreadGroup::Handle | getThreadGroup ()=0 |
| Return the ThreadGroup for the Daemon. |
virtual ThreadGroup::View | getThreadGroup () const =0 |
| Return the ThreadGroup for the Daemon. |
virtual void setThreadGroup |
( |
ThreadGroup::Handle |
hGroup |
) |
[pure virtual] |
Specifies the ThreadGroup within which the Service thread will be created.
If not specified, the current Thread's ThreadGroup will be used.
This property can only be set at runtime, and must be configured before start() is invoked to cause the Service thread to be created within the specified ThreadGroup.
- Parameters:
-