WS_CUSTOM_LISTENER_CALLBACKS structure (webservices.h)
A structure that is used to specify a set of callbacks that form the implementation of a custom listener.
Syntax
typedef struct _WS_CUSTOM_LISTENER_CALLBACKS {
WS_CREATE_LISTENER_CALLBACK createListenerCallback;
WS_FREE_LISTENER_CALLBACK freeListenerCallback;
WS_RESET_LISTENER_CALLBACK resetListenerCallback;
WS_OPEN_LISTENER_CALLBACK openListenerCallback;
WS_CLOSE_LISTENER_CALLBACK closeListenerCallback;
WS_ABORT_LISTENER_CALLBACK abortListenerCallback;
WS_GET_LISTENER_PROPERTY_CALLBACK getListenerPropertyCallback;
WS_SET_LISTENER_PROPERTY_CALLBACK setListenerPropertyCallback;
WS_CREATE_CHANNEL_FOR_LISTENER_CALLBACK createChannelForListenerCallback;
WS_ACCEPT_CHANNEL_CALLBACK acceptChannelCallback;
} WS_CUSTOM_LISTENER_CALLBACKS;
Members
createListenerCallback
The callback that implements WsCreateListener. See WS_CREATE_LISTENER_CALLBACK for more information.
freeListenerCallback
The callback that implements WsFreeListener. See WS_FREE_LISTENER_CALLBACK for more information.
resetListenerCallback
The callback that implements WsResetListener. See WS_RESET_LISTENER_CALLBACK for more information.
openListenerCallback
The callback that implements WsOpenListener. See WS_OPEN_LISTENER_CALLBACK for more information.
closeListenerCallback
The callback that implements WsCloseListener. See WS_CLOSE_LISTENER_CALLBACK for more information.
abortListenerCallback
The callback that implements WsAbortListener. See WS_ABORT_LISTENER_CALLBACK for more information.
getListenerPropertyCallback
The callback that implements WsGetListenerProperty. See WS_GET_LISTENER_PROPERTY_CALLBACK for more information.
setListenerPropertyCallback
The callback that implements WsSetListenerProperty. See WS_SET_LISTENER_PROPERTY_CALLBACK for more information.
createChannelForListenerCallback
The callback that implements WsCreateChannelForListener. See WS_CREATE_CHANNEL_FOR_LISTENER_CALLBACK for more information.
acceptChannelCallback
The callback that implements WsAcceptChannel. See WS_ACCEPT_CHANNEL_CALLBACK for more information.
Remarks
This structure is specified when a listener is created using WsCreateListener using WS_LISTENER_PROPERTY_CUSTOM_LISTENER_CALLBACKS.
Except where noted, each callback is responsible for validating all parameters and that the operation requested is acceptable given the current WS_LISTENER_STATE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | webservices.h |