123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- /*##############################################################################
- HPCC SYSTEMS software Copyright (C) 2015 HPCC Systems.
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
- ############################################################################## */
- EspInclude(common);
- ESPrequest [nil_remove] SetLoggingRequest
- {
- int LoggingLevel;
- string LogRequests;
- bool LogResponses;
- };
- ESPresponse [exceptions_inline, nil_remove, http_encode(0)] SetLoggingResponse
- {
- int Status;
- string Message;
- };
- ESPrequest [nil_remove] GetLoggingSettingsRequest
- {
- };
- ESPresponse [exceptions_inline, nil_remove, http_encode(0)] GetLoggingSettingsResponse
- {
- int LoggingLevel;
- string LogRequests;
- bool LogResponses;
- int LoggingLevelSetting;
- string LogRequestsSetting;
- bool LogResponsesSetting;
- };
- ESPStruct [nil_remove] Session
- {
- string ID;
- string UserID;
- string NetworkAddress;
- string CreateTime;
- string LastAccessed;
- string TimeoutAt;
- int Port;
- bool TimeoutByAdmin;
- };
- ESPrequest [nil_remove] SessionQueryRequest
- {
- string FromIP;
- string UserID;
- };
- ESPresponse [exceptions_inline, nil_remove, http_encode(0)] SessionQueryResponse
- {
- ESParray<ESPstruct Session> Sessions;
- };
- ESPrequest [nil_remove] SessionInfoRequest
- {
- int Port;
- string ID;
- };
- ESPresponse [exceptions_inline, nil_remove, http_encode(0)] SessionInfoResponse
- {
- ESPstruct Session Session;
- };
- ESPrequest [nil_remove] CleanSessionRequest
- {
- string ID;
- string UserID;
- string FromIP;
- bool AllSessions(false);
- };
- ESPresponse [exceptions_inline, nil_remove, http_encode(0)] CleanSessionResponse
- {
- int Status;
- string Message;
- };
- ESPrequest [nil_remove] SetSessionTimeoutRequest
- {
- string ID;
- string UserID;
- string FromIP;
- int TimeoutMinutes;
- bool AllSessions(false);
- };
- ESPresponse [exceptions_inline, nil_remove, http_encode(0)] SetSessionTimeoutResponse
- {
- int Status;
- string Message;
- };
- ESPrequest [nil_remove] DisableDaliSubscriptionsRequest
- {
- };
- ESPresponse [exceptions_inline, nil_remove, http_encode(0)] DisableDaliSubscriptionsResponse
- {
- int Status;
- string Message;
- };
- ESPrequest [nil_remove] EnableDaliSubscriptionsRequest
- {
- };
- ESPresponse [exceptions_inline, nil_remove, http_encode(0)] EnableDaliSubscriptionsResponse
- {
- int Status;
- string Message;
- };
- ESPrequest [nil_remove] DetachFromDaliRequest
- {
- bool Force(false);
- };
- ESPresponse [exceptions_inline, nil_remove, http_encode(0)] DetachFromDaliResponse
- {
- int Status;
- string Message;
- bool Forced;
- };
- ESPrequest [nil_remove] AttachToDaliRequest
- {
- };
- ESPresponse [exceptions_inline, nil_remove, http_encode(0)] AttachToDaliResponse
- {
- int Status;
- string Message;
- };
- ESPservice [auth_feature("NONE"), version("1.03"), default_client_version("1.03"), exceptions_inline("./smc_xslt/exceptions.xslt")] WSESPControl
- {
- ESPmethod SetLogging(SetLoggingRequest, SetLoggingResponse);
- ESPmethod [min_ver("1.03")] GetLoggingSettings(GetLoggingSettingsRequest, GetLoggingSettingsResponse);
- ESPmethod [min_ver("1.01")] SessionQuery(SessionQueryRequest, SessionQueryResponse);
- ESPmethod [min_ver("1.01")] SessionInfo(SessionInfoRequest, SessionInfoResponse);
- ESPmethod [min_ver("1.01")] CleanSession(CleanSessionRequest, CleanSessionResponse);
- ESPmethod [min_ver("1.01")] SetSessionTimeout(SetSessionTimeoutRequest, SetSessionTimeoutResponse);
- ESPmethod [min_ver("1.02")] DisableDaliSubscriptions(DisableDaliSubscriptionsRequest, DisableDaliSubscriptionsResponse);
- ESPmethod [min_ver("1.02")] EnableDaliSubscriptions(EnableDaliSubscriptionsRequest, EnableDaliSubscriptionsResponse);
- ESPmethod [min_ver("1.02")] DetachFromDali(DetachFromDaliRequest, DetachFromDaliResponse);
- ESPmethod [min_ver("1.02")] AttachToDali(AttachToDaliRequest, AttachToDaliResponse);
- };
- SCMexportdef(WSESPControl);
- SCMapi(WSESPControl) IClientWSESPControl *createWSESPControlClient();
|