Custom Plug-in Header Files
When you create a plug-in, you must include wmsserver.h. Also, it is recommended that you include wmsbasicplugin.h and implement all of the IWMSBasicPlugin methods. The IWMSBasicPluginIWMSBasicPlugin Interface is declared in wmsbasicplugin.h. The following table identifies other header files that you can include, depending on the type of plug-in you are creating.
Plug-in type |
Header file |
Interfaces declared |
---|---|---|
Authentication |
authen.h |
IWMSAuthenticationPluginIWMSAuthticationContextIWMSAuthenticationCallback |
wmsheaderline.h (optional) |
IWMSHeaderLine |
|
Authorization |
event.h |
IWMSEventNotificationPluginIWMSEventAuthorizationIWMSEventAuthorizationCallback |
Cache Proxy |
streamcache.h |
IWMSCacheProxyIWMSCacheProxyCallbackIWMSCacheProxyServerIWMSCacheProxyServerCallbackIWMSCacheItemDescriptorIWMSCacheItemCollection |
wmsproxy.h |
IWMSProxyContext |
|
Data Source |
datacontainer.h |
IWMSDataSourcePluginIWMSDataSourcePluginCallbackIWMSDataContainerIWMSDataContainerCallbackIWMSDirectory |
Event Notification |
event.h |
IWMSEventNotificationPluginIWMSEventAuthorizationIWMSEventAuthorizationCallback |
Logging |
event.h |
IWMSEventNotificationPluginIWMSEventAuthorizationIWMSEventAuthorizationCallback |
wmseventlog.h (optional) |
IWMSEventLog |
|
Network Data Source |
datacontainer.h |
IWMSDataSourcePluginIWMSDataSourcePluginCallbackIWMSDataContainerIWMSDataContainerCallbackIWMSDirectory |
streamdescription.h |
IWMSStreamHeaderIWMSStreamHeaderListIWMSContentDescriptionListIWMSStreamSwitchDescriptionList |
|
wmsdatapath.h |
IWMSPacketStreamerIWMSPacketStreamerCallbackIWMSPushSourceIWMSPushSourceCallbackIWMSPushSinkIWMSPacketStreamDataContainer |
|
wmspacket.h |
IWMSPacketIWMSPacketListIWMSPacketParserIWMSPacketListCallbackIWMSStreamSignalHandler |
|
Playlist Parser |
wmsplaylistparser.h |
IWMSPlaylistParserIWMSPlaylistParserCallbackIWMSPlaylistParserPluginIWMSPlaylistParserPluginCallback |
For more information about each of the preceding interfaces, see Custom Plug-in Interfaces (C++).