Uses of Class
org.serviceconnector.api.SCServiceException
Packages that use SCServiceException
-
Uses of SCServiceException in org.serviceconnector.api.cln
Methods in org.serviceconnector.api.cln that throw SCServiceExceptionModifier and TypeMethodDescriptionvoidSCClient.attach()Attach client to SC with default operation timeout.voidSCClient.attach(int operationTimeoutSeconds) Attach client to SC.
Attach starts the communication to the SC.voidSCClient.changeCacheGuardian(SCSubscribeMessage scSubscribeMessage) Change cache guardian with default operation timeout.voidSCClient.changeGuardian(int operationTimeoutSeconds, SCSubscribeMessage scSubscribeMessage) Change guardian.SCPublishService.changeSubscription(int operationTimeoutSeconds, SCSubscribeMessage scSubscribeMessage) Change subscription on SC.SCPublishService.changeSubscription(SCSubscribeMessage scSubscribeMessage) Change subscription on SC with default operation timeout.voidSCMgmtClient.clearCache()Clears the cache.voidSCMgmtClient.clearCache(int operationTimeoutSeconds) Clears the cache for given service name.SCSessionService.createSession(int operationTimeoutSeconds, SCMessage scMessage, SCMessageCallback messageCallback) Creates the session on SC.SCSessionService.createSession(SCMessage scMessage, SCMessageCallback callback) Creates the session on SC.voidSCSessionService.deleteSession()Delete session on SC with default operation timeout.voidSCSessionService.deleteSession(int operationTimeoutSeconds) Delete session on SC.voidSCSessionService.deleteSession(int operationTimeoutSeconds, SCMessage scMessage) Delete session on SC.voidSCSessionService.deleteSession(SCMessage scMessage) Delete session on SC with default operation timeout.voidSCClient.detach()Detach client from SC with default operation timeout.
Detach end the communication to the SC.voidSCClient.detach(int operationTimeoutSeconds) Detach client from SC.
Detach end the communication to the SC.voidSCMgmtClient.disableService(int operationTimeoutSeconds, String serviceName) Disable service on SC.voidSCMgmtClient.disableService(String serviceName) Disable service on SC with default operation timeout.voidSCFileService.downloadFile(int operationTimeoutSeconds, String remoteFileName, OutputStream outStream) Download file.voidSCFileService.downloadFile(String remoteFileName, OutputStream outStream) Download file with default operation timeout.voidSCMgmtClient.dump()Request dump of SC.voidSCMgmtClient.dump(int operationTimeoutSeconds) Request dump of SC.voidSCMgmtClient.enableService(int operationTimeoutSeconds, String serviceName) Enable service on SC.voidSCMgmtClient.enableService(String serviceName) Disable service on SC with default operation timeout.Execute.Execute with default operation timeout.SCClient.getSCVersion()Gets the SC version.SCClient.getServiceConfiguration(int operationTimeout, String serviceName) Gets the configuration of a service.SCClient.getServiceConfiguration(String serviceName) Gets the configuration of a service with default operation timeout.SCClient.getStateOfServices(int operationTimeout, String serviceNamePattern) Gets the state of services.SCClient.getStateOfServices(String serviceNamePattern) Gets the state of services with default operation timeout.
Operation only possible if client gets successfully attached before.SCClient.getWorkload(int operationTimeoutSeconds, String serviceName) Returns the number of available and allocated sessions for given service name.SCClient.getWorkload(String serviceName) Returns the number of available and allocated sessions for given service name.SCClient.inspectCache(int operationTimeoutSeconds, String cacheId) Inspects the cache for given service name and cacheId.
Operation only possible if client gets successfully attached before.SCClient.inspectCache(String cacheId) inspects the cache for given service name and cacheId.booleanSCClient.isServiceEnabled(int operationTimeout, String serviceName) Checks if service is enabled on SC.
Operation only possible if client gets successfully attached before.booleanSCClient.isServiceEnabled(String serviceName) Checks if service is enabled on SC with default operation timeout.voidSCMgmtClient.killSC()Kill SC.SCFileService.listFiles()List files with default operation timeout.SCFileService.listFiles(int operationTimeoutSeconds) List available files on server directory.SCClient.newFileService(String serviceName) Creates a new file service.SCClient.newPublishService(String serviceName) Creates a new publish service.SCClient.newSessionService(String serviceName) Creates a new session service.voidSend.voidSend with default operation timeout.voidSCClient.setKeepAliveIntervalSeconds(int keepAliveIntervalSeconds) Sets the keep alive interval in seconds.voidSCClient.setKeepAliveTimeoutSeconds(int keepAliveTimeoutSeconds) Sets the keep alive timeout in seconds.voidSCClient.setMaxConnections(int maxConnections) Sets the max connections of the pool which is connecting to SC.voidSCPublishService.setReceivePublicationTimeoutSeconds(int receivePublicationTimeoutSeconds) Sets the receive publication timeout in seconds.voidSCClient.setTCPKeepAlive(boolean tcpKeepAlive) Sets the TCP keep alive.voidSCClient.startCacheGuardian(int operationTimeoutSeconds, String guardianName, SCSubscribeMessage subscribeMessage, SCGuardianMessageCallback guardianCallback) Start cache guardian.voidSCClient.startCacheGuardian(String guardianName, SCSubscribeMessage subscribeMessage, SCGuardianMessageCallback guardianCallback) Start cache guardian.voidSCClient.stopCacheGuardian()Stop cache guardian with default operation timeout.voidSCClient.stopCacheGuardian(int operationTimeoutSeconds) Stop cache guardian.SCPublishService.subscribe(int operationTimeoutSeconds, SCSubscribeMessage scSubscribeMessage, SCMessageCallback scMessageCallback) Subscribe to SC.SCPublishService.subscribe(SCSubscribeMessage scSubscribeMessage, SCMessageCallback scMessageCallback) Subscribe to SC with default operation timeout.voidSCPublishService.unsubscribe()Unsubscribe from SC with default operation timeout.voidSCPublishService.unsubscribe(int operationTimeoutSeconds) Unsubscribe from SC.voidSCPublishService.unsubscribe(int operationTimeoutSeconds, SCMessage scMessage) Unsubscribe from SC.voidSCPublishService.unsubscribe(SCMessage scMessage) Unsubscribe from SC.voidSCFileService.uploadFile(int operationTimeoutSeconds, String remoteFileName, InputStream inStream) Upload file.voidSCFileService.uploadFile(String remoteFileName, InputStream inStream) Upload file with default operation timeout. -
Uses of SCServiceException in org.serviceconnector.api.srv
Methods in org.serviceconnector.api.srv with parameters of type SCServiceExceptionModifier and TypeMethodDescriptionvoidISCPublishServerCallback.exceptionCaught(SCServiceException ex) Exception caught.voidISCSessionServerCallback.exceptionCaught(SCServiceException ex) Exception caught.Methods in org.serviceconnector.api.srv that throw SCServiceExceptionModifier and TypeMethodDescriptionvoidSCSessionServer.checkRegistration()Check registration with default operation timeout.voidSCSessionServer.checkRegistration(int operationTimeoutSeconds) Check registration.voidSCSessionServer.deregister()Deregister server with default operation timeout.voidSCSessionServer.deregister(int operationTimeoutSeconds) Deregister server.protected voidSCSessionServer.doRegister(int operationTimeoutSeconds, int maxSessions, int maxConnections) Do register.SCServer.newPublishServer(String serviceName) New publish server.SCServer.newSessionServer(String serviceName) New session server.voidSCPublishServer.publish(int operationTimeoutSeconds, SCPublishMessage publishMessage) Publish message to SC.voidSCPublishServer.publish(SCPublishMessage publishMessage) Publish message to SC with default operation timeout.voidSCPublishServer.register(int operationTimeoutSeconds, int maxSessions, int maxConnections, SCPublishServerCallback scCallback) Register server on SC.voidSCPublishServer.register(int maxSessions, int maxConnections, SCPublishServerCallback scCallback) Register server on SC with default operation timeout.voidSCSessionServer.register(int operationTimeoutSeconds, int maxSessions, int maxConnections, SCSessionServerCallback scCallback) Register server.voidSCSessionServer.register(int maxSessions, int maxConnections, SCSessionServerCallback scCallback) Register server with default operation timeout.voidSCServer.setCheckRegistrationIntervalSeconds(int checkRegistrationIntervalSeconds) Sets the check registration interval in seconds.voidSCServer.setCheckRegistrationTimeoutSeconds(int checkRegistrationTimeoutSeconds) Sets the check registration timeout in seconds.voidSCServer.setImmediateConnect(boolean immediateConnect) Sets the immediate connect.voidSCServer.setKeepAliveIntervalSeconds(int keepAliveIntervalSeconds) Sets the keep alive interval in seconds.voidSCServer.setKeepAliveTimeoutSeconds(int keepAliveTimeoutSeconds) Sets the keep alive timeout in seconds.voidSCServer.setTCPKeepAliveInitiator(boolean tcpKeepAliveInitiator) Sets the TCP keep alive.voidSCServer.setTCPKeepAliveListener(boolean tcpKeepAliveListener) Sets the TCP keep alive.voidSCServer.startListener()Start listener.