Uses of Class
org.opcfoundation.ua.common.ServiceResultException

Packages that use ServiceResultException
org.opcfoundation.ua.application The code in this package is for application developer. 
org.opcfoundation.ua.common This package contains common and shared classes 
org.opcfoundation.ua.encoding This folder contains serialization interfaces and serialization implementations 
org.opcfoundation.ua.transport This package contains SecureChannel and related interfaces 
org.opcfoundation.ua.transport.endpoint Endpoint related classes 
org.opcfoundation.ua.transport.https Code for creating a HTTPS based secure channel 
org.opcfoundation.ua.transport.impl This package contains SecureChannel related implementations 
org.opcfoundation.ua.transport.security This folder contains common security related classes 
org.opcfoundation.ua.transport.tcp.impl   
org.opcfoundation.ua.transport.tcp.io   
org.opcfoundation.ua.transport.tcp.nio   
org.opcfoundation.ua.utils Utility classes 
 

Uses of ServiceResultException in org.opcfoundation.ua.application
 

Methods in org.opcfoundation.ua.application that throw ServiceResultException
 ActivateSessionResponse SessionChannel.activate()
          Activate session using anonymous access.
 ActivateSessionResponse SessionChannel.activate(byte[] issuedIdentityToken)
          Activate session using identity token.
 ActivateSessionResponse SessionChannel.activate(String username, String password)
          Activate session using user name and password.
 ActivateSessionResponse SessionChannel.activate(UserIdentityToken identity, SignatureData identitySignature)
          Activate session.
 List<EndpointServer.EndpointHandle> Server.bind(String bindAddress, Endpoint endpointAddress)
          Bind an endpoint to the server.
 List<EndpointServer.EndpointHandle> Server.bind(String bindAddress, String endpointUri, SecurityMode... modes)
          bind.
 void SessionChannel.close()
          Close the session and the secure channel.
 SecureChannel Client.createSecureChannel(ApplicationDescription applicationDescription)
          Create a secure channel to a UA application This implementation accepts only connections with opc.tcp protocol and with encryption.
 SecureChannel Client.createSecureChannel(EndpointDescription endpoint)
          Create a secure channel to an endpoint
 SecureChannel Client.createSecureChannel(String endpointUrl)
          Create a secure channel to a UA Server This method first queries endpoints, chooses the most suitable and connects to it.
 SecureChannel Client.createSecureChannel(String connectUrl, EndpointDescription endpoint)
          Create a secure channel to an endpoint.
 SecureChannel Client.createSecureChannel(String connectUrl, String endpointUri)
          Create a secure channel to a UA Server This method first queries endpoints, chooses the most suitable and connects to it.
 SecureChannel Client.createSecureChannel(String connectUrl, String endpointUri, SecurityMode mode, Cert remoteCertificate)
          Create and open a secure channel.
 SecureChannel Client.createSecureChannel(String connectUrl, TransportChannelSettings settings)
          Create and open a secure channel.
 SecureChannel Client.createSecureChannel(TransportChannelSettings settings)
          Create and open a secure channel.
 ServiceChannel Client.createServiceChannel(ApplicationDescription applicationDescription)
          Create a service channel Note this implementation is unsecure as the dialog with discover endpoint is not encrypted.
 ServiceChannel Client.createServiceChannel(EndpointDescription endpoint)
          Create a service channel to an endpoint.
 ServiceChannel Client.createServiceChannel(String endpointUrl)
          Create a service channel to a UA Server This method first queries endpoints, chooses the most suitable and connects to it.
 ServiceChannel Client.createServiceChannel(String connectUrl, EndpointDescription endpoint)
          Create a service channel to an endpoint
 ServiceChannel Client.createServiceChannel(String connectUrl, String endpointUri)
          Create a service channel to a UA Server This method first queries endpoints, chooses the most suitable and connects to it.
 ServiceChannel Client.createServiceChannel(String connectUrl, String endpointUri, SecurityMode mode, Cert remoteCertificate)
          Create and open a service channel.
 ServiceChannel Client.createServiceChannel(TransportChannelSettings settings)
          Create and open a secure channel and adapt to service channel.
 Session Client.createSession(SecureChannel channel)
          Create a new session on a server.
 Session Client.createSession(SecureChannel channel, UnsignedInteger maxResponseMessageSize, Double requestedSessionTimeout, String sessionName)
          Create a new session on a server
 Session Client.createSession(SecureChannel channel, UnsignedInteger maxResponseMessageSize, Double requestedSessionTimeout, String sessionName, EndpointDescription[] discoveredEndpoints)
          Create a new session on a server
 SessionChannel Client.createSessionChannel(ApplicationDescription applicationDescription)
          Creates a secure channel and an unactivated session channel.
 SessionChannel Client.createSessionChannel(EndpointDescription endpoint)
          Creates a secure channel and an unactivated session channel.
 SessionChannel Client.createSessionChannel(String endpointUrl)
          Creates a secure channel and an unactivated session channel.
 SessionChannel Client.createSessionChannel(String connectUrl, EndpointDescription endpoint)
          Creates a secure channel and an unactivated session channel.
 SessionChannel Client.createSessionChannel(String connectUrl, String endpointUri)
          Creates a secure channel and an unactivated session channel.
 ApplicationDescription[] Client.discoverApplications(String discoverServerEndpointUrl)
          Discover applications
 ApplicationDescription[] Client.discoverApplications(String connectUrl, String discoverServerEndpointUri)
          Discover applications
 EndpointDescription[] Client.discoverEndpoints(String discoveryEndpointUrl)
          Discover endpoints
 EndpointDescription[] Client.discoverEndpoints(String connectUrl, String discoveryEndpointUri)
          Discover endpoints.
 ServerOnNetwork[] Client.discoverServersOnNetwork(String discoverServerEndpointUrl)
          Discover ServerOnNetwork records from LDS
 ServerOnNetwork[] Client.discoverServersOnNetwork(String connectUrl, String discoverServerEndpointUri)
          Discover ServerOnNetwork records from LDS
 ServerOnNetwork[] Client.discoverServersOnNetwork(String connectUrl, String discoverServerEndpointUri, String[] serverCapabilities)
          Discover ServerOnNetwork records from LDS
 FindServersOnNetworkResponse Client.discoverServersOnNetwork(String connectUrl, String discoverServerEndpointUri, UnsignedInteger startingRecordId, UnsignedInteger maxRecordsToReturn, String[] serverCapabilities)
          Get FindServersOnNetworkResponse to retrieve ServerOnNetwork records and lastCounterResetTime associated with them
 EndpointServer Application.getOrCreateEndpointServer(String scheme)
          getOrCreateEndpointServer.
 HttpsServer Application.getOrCreateHttpsServer()
          getOrCreateHttpsServer.
 OpcTcpServer Application.getOrCreateOpcTcpServer()
          getOrCreateOpcTcpServer.
 void ServiceHandlerComposition.serve(EndpointServiceRequest<?,?> request)
          Serve a service request.
 void ServiceHandler.serve(EndpointServiceRequest<?,?> request)
          Serve a service request.
 IEncodeable SessionChannel.serviceRequest(ServiceRequest serviceRequest)
          Sends a request over the secure channel.
 

Uses of ServiceResultException in org.opcfoundation.ua.common
 

Subclasses of ServiceResultException in org.opcfoundation.ua.common
 class ServiceFaultException
          ServiceFaultException is an error that occurs in execution an operation.
 

Methods in org.opcfoundation.ua.common that return ServiceResultException
 ServiceResultException RuntimeServiceResultException.getCause()
          
 

Methods in org.opcfoundation.ua.common that throw ServiceResultException
 NodeId NamespaceTable.toNodeId(ExpandedNodeId expandedNodeId)
          Convert the expandedNodeId to a NodeId using the name space indexes of the table
 

Constructors in org.opcfoundation.ua.common with parameters of type ServiceResultException
RuntimeServiceResultException(ServiceResultException cause)
          Constructor for RuntimeServiceResultException.
 

Uses of ServiceResultException in org.opcfoundation.ua.encoding
 

Subclasses of ServiceResultException in org.opcfoundation.ua.encoding
 class DecodingException
          DecodingException class.
 class EncodingException
          EncodingException class.
 

Methods in org.opcfoundation.ua.encoding that throw ServiceResultException
 NodeId EncoderContext.getEncodeableNodeId(Class<? extends IEncodeable> clazz, EncodeType type)
          getEncodeableNodeId.
 

Uses of ServiceResultException in org.opcfoundation.ua.transport
 

Methods in org.opcfoundation.ua.transport that return ServiceResultException
 ServiceResultException AsyncResult.getError()
          getError.
 

Methods in org.opcfoundation.ua.transport with parameters of type ServiceResultException
 void AsyncWrite.attemptSetError(ServiceResultException e)
          attemptSetError.
 void AsyncRead.attemptSetError(ServiceResultException e)
          attemptSetError.
 void IConnectionListener.onClosed(ServiceResultException closeError)
          The connection has been closed
 void ResultListener.onError(ServiceResultException error)
          There was an error in processing the request
 void AsyncWrite.setError(ServiceResultException e)
          setError.
 void AsyncRead.setError(ServiceResultException e)
          setError.
 

Methods in org.opcfoundation.ua.transport that throw ServiceResultException
 ActivateSessionResponse ChannelService.ActivateSession(ActivateSessionRequest req)
          Synchronous ActivateSession service request.
 ActivateSessionResponse ChannelService.ActivateSession(RequestHeader RequestHeader, SignatureData ClientSignature, SignedSoftwareCertificate[] ClientSoftwareCertificates, String[] LocaleIds, ExtensionObject UserIdentityToken, SignatureData UserTokenSignature)
          Synchronous ActivateSession service request.
 AddNodesResponse ChannelService.AddNodes(AddNodesRequest req)
          Synchronous AddNodes service request.
 AddNodesResponse ChannelService.AddNodes(RequestHeader RequestHeader, AddNodesItem... NodesToAdd)
          Synchronous AddNodes service request.
 AddReferencesResponse ChannelService.AddReferences(AddReferencesRequest req)
          Synchronous AddReferences service request.
 AddReferencesResponse ChannelService.AddReferences(RequestHeader RequestHeader, AddReferencesItem... ReferencesToAdd)
          Synchronous AddReferences service request.
 EndpointServer.EndpointHandle EndpointServer.bind(SocketAddress socketAddress, EndpointBinding endpointBinding)
          Bind an endpoint to a handle.
 BrowseResponse ChannelService.Browse(BrowseRequest req)
          Synchronous Browse service request.
 BrowseResponse ChannelService.Browse(RequestHeader RequestHeader, ViewDescription View, UnsignedInteger RequestedMaxReferencesPerNode, BrowseDescription... NodesToBrowse)
          Synchronous Browse service request.
 BrowseNextResponse ChannelService.BrowseNext(BrowseNextRequest req)
          Synchronous BrowseNext service request.
 BrowseNextResponse ChannelService.BrowseNext(RequestHeader RequestHeader, Boolean ReleaseContinuationPoints, ByteString... ContinuationPoints)
          Synchronous BrowseNext service request.
 CallResponse ChannelService.Call(CallRequest req)
          Synchronous Call service request.
 CallResponse ChannelService.Call(RequestHeader RequestHeader, CallMethodRequest... MethodsToCall)
          Synchronous Call service request.
 CancelResponse ChannelService.Cancel(CancelRequest req)
          Synchronous Cancel service request.
 CancelResponse ChannelService.Cancel(RequestHeader RequestHeader, UnsignedInteger RequestHandle)
          Synchronous Cancel service request.
 CloseSecureChannelResponse ChannelService.CloseSecureChannel(CloseSecureChannelRequest req)
          Synchronous CloseSecureChannel service request.
 CloseSecureChannelResponse ChannelService.CloseSecureChannel(RequestHeader RequestHeader)
          Synchronous CloseSecureChannel service request.
 CloseSessionResponse ChannelService.CloseSession(CloseSessionRequest req)
          Synchronous CloseSession service request.
 CloseSessionResponse ChannelService.CloseSession(RequestHeader RequestHeader, Boolean DeleteSubscriptions)
          Synchronous CloseSession service request.
 CreateMonitoredItemsResponse ChannelService.CreateMonitoredItems(CreateMonitoredItemsRequest req)
          Synchronous CreateMonitoredItems service request.
 CreateMonitoredItemsResponse ChannelService.CreateMonitoredItems(RequestHeader RequestHeader, UnsignedInteger SubscriptionId, TimestampsToReturn TimestampsToReturn, MonitoredItemCreateRequest... ItemsToCreate)
          Synchronous CreateMonitoredItems service request.
 CreateSessionResponse ChannelService.CreateSession(CreateSessionRequest req)
          Synchronous CreateSession service request.
 CreateSessionResponse ChannelService.CreateSession(RequestHeader RequestHeader, ApplicationDescription ClientDescription, String ServerUri, String EndpointUrl, String SessionName, ByteString ClientNonce, ByteString ClientCertificate, Double RequestedSessionTimeout, UnsignedInteger MaxResponseMessageSize)
          Synchronous CreateSession service request.
 CreateSubscriptionResponse ChannelService.CreateSubscription(CreateSubscriptionRequest req)
          Synchronous CreateSubscription service request.
 CreateSubscriptionResponse ChannelService.CreateSubscription(RequestHeader RequestHeader, Double RequestedPublishingInterval, UnsignedInteger RequestedLifetimeCount, UnsignedInteger RequestedMaxKeepAliveCount, UnsignedInteger MaxNotificationsPerPublish, Boolean PublishingEnabled, UnsignedByte Priority)
          Synchronous CreateSubscription service request.
 DeleteMonitoredItemsResponse ChannelService.DeleteMonitoredItems(DeleteMonitoredItemsRequest req)
          Synchronous DeleteMonitoredItems service request.
 DeleteMonitoredItemsResponse ChannelService.DeleteMonitoredItems(RequestHeader RequestHeader, UnsignedInteger SubscriptionId, UnsignedInteger... MonitoredItemIds)
          Synchronous DeleteMonitoredItems service request.
 DeleteNodesResponse ChannelService.DeleteNodes(DeleteNodesRequest req)
          Synchronous DeleteNodes service request.
 DeleteNodesResponse ChannelService.DeleteNodes(RequestHeader RequestHeader, DeleteNodesItem... NodesToDelete)
          Synchronous DeleteNodes service request.
 DeleteReferencesResponse ChannelService.DeleteReferences(DeleteReferencesRequest req)
          Synchronous DeleteReferences service request.
 DeleteReferencesResponse ChannelService.DeleteReferences(RequestHeader RequestHeader, DeleteReferencesItem... ReferencesToDelete)
          Synchronous DeleteReferences service request.
 DeleteSubscriptionsResponse ChannelService.DeleteSubscriptions(DeleteSubscriptionsRequest req)
          Synchronous DeleteSubscriptions service request.
 DeleteSubscriptionsResponse ChannelService.DeleteSubscriptions(RequestHeader RequestHeader, UnsignedInteger... SubscriptionIds)
          Synchronous DeleteSubscriptions service request.
 FindServersResponse ChannelService.FindServers(FindServersRequest req)
          Synchronous FindServers service request.
 FindServersResponse ChannelService.FindServers(RequestHeader RequestHeader, String EndpointUrl, String[] LocaleIds, String... ServerUris)
          Synchronous FindServers service request.
 FindServersOnNetworkResponse ChannelService.FindServersOnNetwork(FindServersOnNetworkRequest req)
          Synchronous FindServersOnNetwork service request.
 FindServersOnNetworkResponse ChannelService.FindServersOnNetwork(RequestHeader RequestHeader, UnsignedInteger StartingRecordId, UnsignedInteger MaxRecordsToReturn, String... ServerCapabilityFilter)
          Synchronous FindServersOnNetwork service request.
 GetEndpointsResponse ChannelService.GetEndpoints(GetEndpointsRequest req)
          Synchronous GetEndpoints service request.
 GetEndpointsResponse ChannelService.GetEndpoints(RequestHeader RequestHeader, String EndpointUrl, String[] LocaleIds, String... ProfileUris)
          Synchronous GetEndpoints service request.
static UriUtil.MessageFormat UriUtil.getMessageFormat(String endpointUri)
          Get message format associated with an endpoint
 T AsyncResult.getResult()
          Get result if available
static InetSocketAddress UriUtil.getSocketAddress(String endpointUri)
          Convert uri to socket address
 HistoryReadResponse ChannelService.HistoryRead(HistoryReadRequest req)
          Synchronous HistoryRead service request.
 HistoryReadResponse ChannelService.HistoryRead(RequestHeader RequestHeader, ExtensionObject HistoryReadDetails, TimestampsToReturn TimestampsToReturn, Boolean ReleaseContinuationPoints, HistoryReadValueId... NodesToRead)
          Synchronous HistoryRead service request.
 HistoryUpdateResponse ChannelService.HistoryUpdate(HistoryUpdateRequest req)
          Synchronous HistoryUpdate service request.
 HistoryUpdateResponse ChannelService.HistoryUpdate(RequestHeader RequestHeader, ExtensionObject... HistoryUpdateDetails)
          Synchronous HistoryUpdate service request.
 void ServiceChannel.initialize(String url, TransportChannelSettings settings, EncoderContext ctx)
          Initialize a secure channel with endpoint identified by the URL.
 void SecureChannel.initialize(String connectUrl, TransportChannelSettings settings, EncoderContext ctx)
          Initialize a secure channel with endpoint identified by the URL.
 void ServiceChannel.initialize(TransportChannelSettings settings, EncoderContext ctx)
          Initialize a secure channel with endpoint identified by the URL.
 void SecureChannel.initialize(TransportChannelSettings settings, EncoderContext ctx)
          Initialize a secure channel with endpoint identified by the URL.
 ModifyMonitoredItemsResponse ChannelService.ModifyMonitoredItems(ModifyMonitoredItemsRequest req)
          Synchronous ModifyMonitoredItems service request.
 ModifyMonitoredItemsResponse ChannelService.ModifyMonitoredItems(RequestHeader RequestHeader, UnsignedInteger SubscriptionId, TimestampsToReturn TimestampsToReturn, MonitoredItemModifyRequest... ItemsToModify)
          Synchronous ModifyMonitoredItems service request.
 ModifySubscriptionResponse ChannelService.ModifySubscription(ModifySubscriptionRequest req)
          Synchronous ModifySubscription service request.
 ModifySubscriptionResponse ChannelService.ModifySubscription(RequestHeader RequestHeader, UnsignedInteger SubscriptionId, Double RequestedPublishingInterval, UnsignedInteger RequestedLifetimeCount, UnsignedInteger RequestedMaxKeepAliveCount, UnsignedInteger MaxNotificationsPerPublish, UnsignedByte Priority)
          Synchronous ModifySubscription service request.
 void ServiceChannel.open()
          Open the secure channel with the endpoint identified by the URL.
 void SecureChannel.open()
          Open the secure channel with the endpoint identified by the URL.
 OpenSecureChannelResponse ChannelService.OpenSecureChannel(OpenSecureChannelRequest req)
          Synchronous OpenSecureChannel service request.
 OpenSecureChannelResponse ChannelService.OpenSecureChannel(RequestHeader RequestHeader, UnsignedInteger ClientProtocolVersion, SecurityTokenRequestType RequestType, MessageSecurityMode SecurityMode, ByteString ClientNonce, UnsignedInteger RequestedLifetime)
          Synchronous OpenSecureChannel service request.
 PublishResponse ChannelService.Publish(PublishRequest req)
          Synchronous Publish service request.
 PublishResponse ChannelService.Publish(RequestHeader RequestHeader, SubscriptionAcknowledgement... SubscriptionAcknowledgements)
          Synchronous Publish service request.
 QueryFirstResponse ChannelService.QueryFirst(QueryFirstRequest req)
          Synchronous QueryFirst service request.
 QueryFirstResponse ChannelService.QueryFirst(RequestHeader RequestHeader, ViewDescription View, NodeTypeDescription[] NodeTypes, ContentFilter Filter, UnsignedInteger MaxDataSetsToReturn, UnsignedInteger MaxReferencesToReturn)
          Synchronous QueryFirst service request.
 QueryNextResponse ChannelService.QueryNext(QueryNextRequest req)
          Synchronous QueryNext service request.
 QueryNextResponse ChannelService.QueryNext(RequestHeader RequestHeader, Boolean ReleaseContinuationPoint, ByteString ContinuationPoint)
          Synchronous QueryNext service request.
 ReadResponse ChannelService.Read(ReadRequest req)
          Synchronous Read service request.
 ReadResponse ChannelService.Read(RequestHeader RequestHeader, Double MaxAge, TimestampsToReturn TimestampsToReturn, ReadValueId... NodesToRead)
          Synchronous Read service request.
 RegisterNodesResponse ChannelService.RegisterNodes(RegisterNodesRequest req)
          Synchronous RegisterNodes service request.
 RegisterNodesResponse ChannelService.RegisterNodes(RequestHeader RequestHeader, NodeId... NodesToRegister)
          Synchronous RegisterNodes service request.
 RegisterServerResponse ChannelService.RegisterServer(RegisterServerRequest req)
          Synchronous RegisterServer service request.
 RegisterServerResponse ChannelService.RegisterServer(RequestHeader RequestHeader, RegisteredServer Server)
          Synchronous RegisterServer service request.
 RegisterServer2Response ChannelService.RegisterServer2(RegisterServer2Request req)
          Synchronous RegisterServer2 service request.
 RegisterServer2Response ChannelService.RegisterServer2(RequestHeader RequestHeader, RegisteredServer Server, ExtensionObject... DiscoveryConfiguration)
          Synchronous RegisterServer2 service request.
 RepublishResponse ChannelService.Republish(RepublishRequest req)
          Synchronous Republish service request.
 RepublishResponse ChannelService.Republish(RequestHeader RequestHeader, UnsignedInteger SubscriptionId, UnsignedInteger RetransmitSequenceNumber)
          Synchronous Republish service request.
 ServiceResponse ServiceChannel.serviceRequest(ServiceRequest request)
          Sends a request over the secure channel.
 ServiceResponse SecureChannel.serviceRequest(ServiceRequest request)
          Sends a request over the secure channel.
 IEncodeable RequestChannel.serviceRequest(ServiceRequest request)
          Sends a request over the secure channel.
 SetMonitoringModeResponse ChannelService.SetMonitoringMode(RequestHeader RequestHeader, UnsignedInteger SubscriptionId, MonitoringMode MonitoringMode, UnsignedInteger... MonitoredItemIds)
          Synchronous SetMonitoringMode service request.
 SetMonitoringModeResponse ChannelService.SetMonitoringMode(SetMonitoringModeRequest req)
          Synchronous SetMonitoringMode service request.
 SetPublishingModeResponse ChannelService.SetPublishingMode(RequestHeader RequestHeader, Boolean PublishingEnabled, UnsignedInteger... SubscriptionIds)
          Synchronous SetPublishingMode service request.
 SetPublishingModeResponse ChannelService.SetPublishingMode(SetPublishingModeRequest req)
          Synchronous SetPublishingMode service request.
 SetTriggeringResponse ChannelService.SetTriggering(RequestHeader RequestHeader, UnsignedInteger SubscriptionId, UnsignedInteger TriggeringItemId, UnsignedInteger[] LinksToAdd, UnsignedInteger... LinksToRemove)
          Synchronous SetTriggering service request.
 SetTriggeringResponse ChannelService.SetTriggering(SetTriggeringRequest req)
          Synchronous SetTriggering service request.
 TransferSubscriptionsResponse ChannelService.TransferSubscriptions(RequestHeader RequestHeader, UnsignedInteger[] SubscriptionIds, Boolean SendInitialValues)
          Synchronous TransferSubscriptions service request.
 TransferSubscriptionsResponse ChannelService.TransferSubscriptions(TransferSubscriptionsRequest req)
          Synchronous TransferSubscriptions service request.
 TranslateBrowsePathsToNodeIdsResponse ChannelService.TranslateBrowsePathsToNodeIds(RequestHeader RequestHeader, BrowsePath... BrowsePaths)
          Synchronous TranslateBrowsePathsToNodeIds service request.
 TranslateBrowsePathsToNodeIdsResponse ChannelService.TranslateBrowsePathsToNodeIds(TranslateBrowsePathsToNodeIdsRequest req)
          Synchronous TranslateBrowsePathsToNodeIds service request.
 UnregisterNodesResponse ChannelService.UnregisterNodes(RequestHeader RequestHeader, NodeId... NodesToUnregister)
          Synchronous UnregisterNodes service request.
 UnregisterNodesResponse ChannelService.UnregisterNodes(UnregisterNodesRequest req)
          Synchronous UnregisterNodes service request.
 T AsyncResult.waitForResult()
          Wait for result until result is available.
 T AsyncResult.waitForResult(long timeout, TimeUnit unit)
          Wait for result or time out.
 WriteResponse ChannelService.Write(RequestHeader RequestHeader, WriteValue... NodesToWrite)
          Synchronous Write service request.
 WriteResponse ChannelService.Write(WriteRequest req)
          Synchronous Write service request.
 

Uses of ServiceResultException in org.opcfoundation.ua.transport.endpoint
 

Methods in org.opcfoundation.ua.transport.endpoint with parameters of type ServiceResultException
 void AbstractServerSecureChannel.setError(ServiceResultException e)
          setError.
 

Uses of ServiceResultException in org.opcfoundation.ua.transport.https
 

Methods in org.opcfoundation.ua.transport.https with parameters of type ServiceResultException
 void HttpsServerSecureChannel.setError(ServiceResultException e)
          setError.
 

Methods in org.opcfoundation.ua.transport.https that throw ServiceResultException
 EndpointServer.EndpointHandle HttpsServer.bind(SocketAddress socketAddress, EndpointBinding endpointBinding)
          Bind an endpoint to a handle.
 void HttpsClientSecureChannel.initialize(String url, TransportChannelSettings tcs, EncoderContext ctx)
          Initialize a secure channel with endpoint identified by the URL.
 void HttpsClient.initialize(String connectUrl, TransportChannelSettings tcs, EncoderContext ctx)
          Initialize a secure channel with endpoint identified by the URL.
 void HttpsClientSecureChannel.initialize(TransportChannelSettings tcs, EncoderContext ctx)
          Initialize a secure channel with endpoint identified by the URL.
protected  void HttpsServer.initReactor()
          initReactor.
 void HttpsClientSecureChannel.open()
          Open the secure channel with the endpoint identified by the URL.
 ServiceResponse HttpsClientSecureChannel.serviceRequest(ServiceRequest request)
          Sends a request over the secure channel.
 ServiceResponse HttpsClient.serviceRequest(ServiceRequest request)
          Send a service request over the secure channel.
 ServiceResponse HttpsClient.serviceRequest(ServiceRequest request, long operationTimeout)
          Send a service request over the secure channel.
 void HttpsSettings.setKeyManager(X509KeyManager keyManager)
          Set keymanager for a https application.
 void HttpsSettings.setKeyStore(KeyStore keystore, String password)
          Set keystore as the key manager for a https application.
 void HttpsSettings.setTrustManager(TrustManager trustManager)
          Set the trust manager for a https application.
 

Constructors in org.opcfoundation.ua.transport.https that throw ServiceResultException
HttpsServer(Application application)
          Constructor for HttpsServer.
 

Uses of ServiceResultException in org.opcfoundation.ua.transport.impl
 

Methods in org.opcfoundation.ua.transport.impl that return ServiceResultException
 ServiceResultException AsyncResultImpl.getError()
          getError.
 

Methods in org.opcfoundation.ua.transport.impl with parameters of type ServiceResultException
 void AsyncResultImpl.setError(ServiceResultException error)
          Set error, invokes any listener in executor thread.
 void AsyncResultImpl.setErrorSync(ServiceResultException error)
          Set error, invokes any listener here and now.
 

Methods in org.opcfoundation.ua.transport.impl that throw ServiceResultException
 T AsyncResultImpl.waitForResult()
          Wait for result until result is available.
 T AsyncResultImpl.waitForResult(long timeout, TimeUnit unit)
          Wait for result or time out.
 

Uses of ServiceResultException in org.opcfoundation.ua.transport.security
 

Methods in org.opcfoundation.ua.transport.security that throw ServiceResultException
 Mac ScCryptoProvider.createMac(SecurityAlgorithm algorithm, byte[] secret)
          createMac.
 Mac JceCryptoProvider.createMac(SecurityAlgorithm algorithm, byte[] secret)
          createMac.
 Mac CryptoProvider.createMac(SecurityAlgorithm algorithm, byte[] secret)
          createMac.
 Mac BcCryptoProvider.createMac(SecurityAlgorithm algorithm, byte[] secret)
          createMac.
 int ScCryptoProvider.decryptAsymm(PrivateKey decryptingKey, SecurityAlgorithm algorithm, byte[] dataToDecrypt, byte[] output, int outputOffset)
          decryptAsymm.
 int JceCryptoProvider.decryptAsymm(PrivateKey decryptingKey, SecurityAlgorithm algorithm, byte[] dataToDecrypt, byte[] output, int outputOffset)
          decryptAsymm.
 int CryptoProvider.decryptAsymm(PrivateKey decryptingKey, SecurityAlgorithm algorithm, byte[] dataToDecrypt, byte[] output, int outputOffset)
          decryptAsymm.
 int BcCryptoProvider.decryptAsymm(PrivateKey decryptingKey, SecurityAlgorithm algorithm, byte[] dataToDecrypt, byte[] output, int outputOffset)
          decryptAsymm.
 int ScCryptoProvider.decryptSymm(SecurityToken token, byte[] dataToDecrypt, int inputOffset, int inputLength, byte[] output, int outputOffset)
          decryptSymm.
 int JceCryptoProvider.decryptSymm(SecurityToken token, byte[] dataToDecrypt, int inputOffset, int inputLength, byte[] output, int outputOffset)
          decryptSymm.
 int CryptoProvider.decryptSymm(SecurityToken token, byte[] dataToDecrypt, int inputOffset, int inputLength, byte[] output, int outputOffset)
          decryptSymm.
 int BcCryptoProvider.decryptSymm(SecurityToken token, byte[] dataToDecrypt, int inputOffset, int inputLength, byte[] output, int outputOffset)
          decryptSymm.
 void ScCryptoProvider.encryptAsymm(PublicKey encryptingCertificate, SecurityAlgorithm algorithm, byte[] dataToEncrypt, byte[] output, int outputOffset)
          encryptAsymm.
 void JceCryptoProvider.encryptAsymm(PublicKey remotePublicKey, SecurityAlgorithm algorithm, byte[] dataToEncrypt, byte[] output, int outputOffset)
          encryptAsymm.
 void CryptoProvider.encryptAsymm(PublicKey encryptingCertificate, SecurityAlgorithm algorithm, byte[] dataToEncrypt, byte[] output, int outputOffset)
          encryptAsymm.
 void BcCryptoProvider.encryptAsymm(PublicKey encryptingCertificate, SecurityAlgorithm algorithm, byte[] dataToEncrypt, byte[] output, int outputOffset)
          encryptAsymm.
 int ScCryptoProvider.encryptSymm(SecurityToken token, byte[] dataToEncrypt, int inputOffset, int inputLength, byte[] output, int outputOffset)
          encryptSymm.
 int JceCryptoProvider.encryptSymm(SecurityToken token, byte[] dataToEncrypt, int inputOffset, int inputLength, byte[] output, int outputOffset)
          encryptSymm.
 int CryptoProvider.encryptSymm(SecurityToken token, byte[] dataToEncrypt, int inputOffset, int inputLength, byte[] output, int outputOffset)
          encryptSymm.
 int BcCryptoProvider.encryptSymm(SecurityToken token, byte[] dataToEncrypt, int inputOffset, int inputLength, byte[] output, int outputOffset)
          encryptSymm.
static SecurityPolicy SecurityPolicy.getSecurityPolicy(String securityPolicyUri)
          Get security policy by policy uri
 byte[] ScCryptoProvider.signAsymm(PrivateKey senderPrivate, SecurityAlgorithm algorithm, byte[] dataToSign)
          signAsymm.
 byte[] JceCryptoProvider.signAsymm(PrivateKey senderPrivate, SecurityAlgorithm algorithm, byte[] dataToSign)
          signAsymm.
 byte[] CryptoProvider.signAsymm(PrivateKey senderPrivate, SecurityAlgorithm algorithm, byte[] dataToSign)
          signAsymm.
 byte[] BcCryptoProvider.signAsymm(PrivateKey senderPrivate, SecurityAlgorithm algorithm, byte[] dataToSign)
          signAsymm.
 void ScCryptoProvider.signSymm(SecurityToken token, byte[] input, int verifyLen, byte[] output)
          signSymm.
 void JceCryptoProvider.signSymm(SecurityToken token, byte[] input, int verifyLen, byte[] output)
          signSymm.
 void CryptoProvider.signSymm(SecurityToken token, byte[] input, int verifyLen, byte[] output)
          signSymm.
 void BcCryptoProvider.signSymm(SecurityToken token, byte[] input, int verifyLen, byte[] output)
          signSymm.
 boolean ScCryptoProvider.verifyAsymm(PublicKey signingCertificate, SecurityAlgorithm algorithm, byte[] dataToVerify, byte[] signature)
          verifyAsymm.
 boolean JceCryptoProvider.verifyAsymm(PublicKey signingCertificate, SecurityAlgorithm algorithm, byte[] dataToVerify, byte[] signature)
          verifyAsymm.
 boolean CryptoProvider.verifyAsymm(PublicKey signingCertificate, SecurityAlgorithm algorithm, byte[] dataToVerify, byte[] signature)
          verifyAsymm.
 boolean BcCryptoProvider.verifyAsymm(PublicKey signingCertificate, SecurityAlgorithm algorithm, byte[] dataToVerify, byte[] signature)
          verifyAsymm.
 void ScCryptoProvider.verifySymm(SecurityToken token, byte[] dataToVerify, byte[] signature)
          verifySymm.
 void JceCryptoProvider.verifySymm(SecurityToken token, byte[] dataToVerify, byte[] signature)
          verifySymm.
 void CryptoProvider.verifySymm(SecurityToken token, byte[] dataToVerify, byte[] signature)
          verifySymm.
 void BcCryptoProvider.verifySymm(SecurityToken token, byte[] dataToVerify, byte[] signature)
          verifySymm.
 

Constructors in org.opcfoundation.ua.transport.security that throw ServiceResultException
Cert(byte[] data)
          Create Certificate
 

Uses of ServiceResultException in org.opcfoundation.ua.transport.tcp.impl
 

Methods in org.opcfoundation.ua.transport.tcp.impl that throw ServiceResultException
protected  Mac SecurityToken.createHmac(byte[] secret)
          createHmac.
 Mac SecurityToken.createLocalHmac()
          Create new localHmac
 Mac SecurityToken.createRemoteHmac()
          Crate new remoteHmac
static String ChunkUtils.getAbortMessage(ByteBuffer chunk)
          getAbortMessage.
static String ChunkUtils.getSecurityPolicyUri(ByteBuffer chunk)
          getSecurityPolicyUri.
static String ChunkUtils.getString(ByteBuffer chunk)
          getString.
 

Constructors in org.opcfoundation.ua.transport.tcp.impl that throw ServiceResultException
ChunkFactory.AsymmMsgChunkFactory(int maxChunkSize, SecurityConfiguration profile)
           
SecurityToken(SecurityConfiguration securityProfile, int secureChannelId, int tokenId, long creationTime, long lifetime, ByteString serverNonce, ByteString clientNonce)
          Create new security token.
 

Uses of ServiceResultException in org.opcfoundation.ua.transport.tcp.io
 

Methods in org.opcfoundation.ua.transport.tcp.io with parameters of type ServiceResultException
 void SecureChannelTcp.onClosed(ServiceResultException closeError)
          The connection has been closed
 

Methods in org.opcfoundation.ua.transport.tcp.io that throw ServiceResultException
 void TcpConnection.initialize(InetSocketAddress addr, TransportChannelSettings settings, EncoderContext ctx)
          Set connection configuration parameters.
 void SecureChannelTcp.initialize(InetSocketAddress addr, TransportChannelSettings settings, EncoderContext ctx)
           Configure the secure channel.
 void IConnection.initialize(InetSocketAddress addr, TransportChannelSettings settings, EncoderContext ctx)
          Set connection configuration parameters.
 void TcpConnection.initialize(String url, TransportChannelSettings settings, EncoderContext ctx)
          
 void SecureChannelTcp.initialize(String url, TransportChannelSettings settings, EncoderContext ctx)
          Initialize a secure channel with endpoint identified by the URL.
 void ITransportChannel.initialize(String url, TransportChannelSettings settings, EncoderContext ctx)
          Initialize a secure channel with endpoint identified by the URL.
 void TcpConnection.initialize(TransportChannelSettings settings, EncoderContext ctx)
          initialize.
 void SecureChannelTcp.initialize(TransportChannelSettings settings, EncoderContext ctx)
          Initialize a secure channel with endpoint identified by the URL.
 void TcpConnection.open()
          open.
 void SecureChannelTcp.open()
          Opens a secure channel.
 void IConnection.open()
          Attempt to open the connection.
 void TcpConnection.reconnect()
          reconnect.
 void IConnection.reconnect()
          Open if the connection is not open.
 void TcpConnection.sendRequest(ServiceRequest request, int secureChannelId, int requestId)
          Send request to the connection.
 void IConnection.sendRequest(ServiceRequest request, int secureChannelId, int requestId)
          Send request to the connection.
 ServiceResponse SecureChannelTcp.serviceRequest(ServiceRequest request)
          Send a service request over the secure channel.
 ServiceResponse ITransportChannel.serviceRequest(ServiceRequest request)
          Send a service request over the secure channel.
 ServiceResponse SecureChannelTcp.serviceRequest(ServiceRequest request, long operationTimeout)
          Send a service request over the secure channel.
 ServiceResponse ITransportChannel.serviceRequest(ServiceRequest request, long operationTimeout)
          Send a service request over the secure channel.
 

Uses of ServiceResultException in org.opcfoundation.ua.transport.tcp.nio
 

Methods in org.opcfoundation.ua.transport.tcp.nio with parameters of type ServiceResultException
protected  void OpcTcpServerConnection.setError(ServiceResultException e)
          setError.
protected  void AbstractServerConnection.setError(ServiceResultException e)
          setError.
 

Methods in org.opcfoundation.ua.transport.tcp.nio that throw ServiceResultException
 void SecureInputMessageBuilder.addChunk(ByteBuffer chunk)
          addChunk.
 EndpointServer.EndpointHandle OpcTcpServer.bind(SocketAddress socketAddress, EndpointBinding endpointBinding)
          Bind an endpoint to a handle.
protected  void OpcTcpServerConnection.handleAcknowledgeMessage(Acknowledge a)
          handleAcknowledgeMessage.
protected  void OpcTcpServerConnection.handleAsymmChunk(ByteBuffer chunk)
          handleAsymmChunk.
protected  void OpcTcpServerConnection.handleChunk(ByteBuffer chunk)
          handleChunk.
protected  void OpcTcpServerConnection.handleCloseChunk(ByteBuffer chunk)
          handleCloseChunk.
protected  void OpcTcpServerConnection.handleCloseSecureChannelRequest(InputMessage mb)
          handleCloseSecureChannelRequest.
protected  void OpcTcpServerConnection.handleHelloMessage(Hello h)
          handleHelloMessage.
protected  void OpcTcpServerSecureChannel.handleOpenChannel(InputMessage mb, OpenSecureChannelRequest req)
          handleOpenChannel.
protected  void OpcTcpServerConnection.handleOpenSecureChannelRequest(InputMessage mb)
          handleOpenSecureChannelRequest.
protected  void OpcTcpServerSecureChannel.handleRenewSecureChannelRequest(InputMessage mb, OpenSecureChannelRequest req)
          handleRenewSecureChannelRequest.
protected  void OpcTcpServerConnection.handleSecureMessage(InputMessage mb)
          handleSecureMessage.
protected  void OpcTcpServerSecureChannel.handleSecureMessage(InputMessage mb, IEncodeable msg)
          handleSecureMessage.
protected  void OpcTcpServerConnection.handleSymmChunk(ByteBuffer chunk)
          handleSymmChunk.
protected  void OpcTcpServerConnection.sendAcknowledge(Acknowledge a)
          sendAcknowledge.
protected  int OpcTcpServerConnection.sendAsymmSecureMessage(AsyncWrite msg, SecurityConfiguration securityConfiguration, int secureChannelId, int requestNumber, AtomicInteger sendSequenceNumber)
          sendAsymmSecureMessage.
protected abstract  int AbstractServerConnection.sendAsymmSecureMessage(AsyncWrite msg, SecurityConfiguration securityConfiguration, int secureChannelId, int requestNumber, AtomicInteger sendSequenceNumber)
          sendAsymmSecureMessage.
protected  void OpcTcpServerConnection.sendError(ErrorMessage e)
          sendError.
 void OpcTcpServer.setReceiveBufferSize(int receiveBufferSize)
          Define the receiveBufferSize to use for the connection socket of the server.
 

Constructors in org.opcfoundation.ua.transport.tcp.nio that throw ServiceResultException
OpcTcpServer(Application application)
          Constructor for OpcTcpServer.
 

Uses of ServiceResultException in org.opcfoundation.ua.utils
 

Methods in org.opcfoundation.ua.utils that return ServiceResultException
static ServiceResultException StackUtils.toServiceResultException(Exception e)
          toServiceResultException.
 

Methods in org.opcfoundation.ua.utils that throw ServiceResultException
static byte[] CryptoUtil.asymmEncrypt(byte[] input, Key key, SecurityAlgorithm algorithm)
          Deprecated. 
static UserIdentityToken EndpointUtil.createAnonymousIdentityToken(EndpointDescription ep)
          Create anonymous user identity token
static UserIdentityToken EndpointUtil.createIssuedIdentityToken(EndpointDescription ep, byte[] senderNonce, byte[] issuedIdentityToken)
          Create user identity token based on an issued token
static Mac CryptoUtil.createMac(SecurityAlgorithm algorithm, byte[] secret)
          Create Message Authentication Code (MAC)
static ByteString CryptoUtil.createNonce(SecurityAlgorithm algorithm)
          createNonce.
static UserIdentityToken EndpointUtil.createUserNameIdentityToken(EndpointDescription ep, byte[] senderNonce, String username, String password)
          Create user identity token based on username and password
static X509IdentityToken EndpointUtil.createX509IdentityToken(EndpointDescription ep, byte[] serverNonce, Cert certificate, PrivateKey key, SignatureData signatureData)
          createX509IdentityToken.
static void CryptoUtil.decryptAsymm(PrivateKey decryptingKey, SecurityConfiguration profile, byte[] dataToDecrypt, byte[] output, int outputOffset)
          Convenience method for CryptoProvider.decryptAsymm(PrivateKey, SecurityAlgorithm, byte[], byte[], int) Possible to use only SecurityConfiguration instead of specifying SecurityAlgorithm explicitly.
static byte[] CryptoUtil.encryptAsymm(byte[] input, PublicKey key, SecurityAlgorithm algorithm)
          Convenience method for CryptoProvider.encryptAsymm(java.security.PublicKey, org.opcfoundation.ua.transport.security.SecurityAlgorithm, byte[], byte[], int).
static void CryptoUtil.encryptAsymm(Certificate encryptingCertificate, SecurityConfiguration profile, byte[] dataToEncrypt, byte[] output, int outputOffset)
          Convenience method for CryptoProvider.encryptAsymm(PublicKey, SecurityAlgorithm, byte[], byte[], int) Possible to use only Certificate and SecurityConfiguration instead of specifying PublicKey and SecurityAlgorithm explicitly.
static Cipher CryptoUtil.getAsymmetricCipher(SecurityAlgorithm algorithm)
          Create signer instance using an algorithm uri.
static int CryptoUtil.getAsymmInputBlockSize(SecurityAlgorithm algorithm)
          getAsymmInputBlockSize.
static int CryptoUtil.getCipherBlockSize(SecurityAlgorithm algorithm, Key key)
          Get cipher block (=output) size in bytes
static int CryptoUtil.getNonceLength(SecurityAlgorithm algorithm)
          Returns the length of the nonce to be used with an asymmetric or symmetric encryption algorithm.
static int CryptoUtil.getPlainTextBlockSize(SecurityAlgorithm securityAlgorithm, Key key)
          Get plain text block (=input) size in bytes
static int CryptoUtil.getSignatureSize(SecurityAlgorithm signatureAlgorithm, Key key)
          Get signature size in bytes
static NumericRange NumericRange.parse(String textToParse)
          Parses a string representing a numeric range.
static EndpointDescription EndpointUtil.select(EndpointDescription[] endpoints)
          Select an endpoint that is supported by the stack and has the highest security level.
static EndpointDescription EndpointUtil.select(EndpointDescription[] endpoints, String url)
          select.
static SignatureData CryptoUtil.signAsymm(PrivateKey signerKey, SecurityAlgorithm algorithm, byte[] dataToSign)
          signAsymm.
static boolean CryptoUtil.verifyAsymm(X509Certificate certificate, SecurityAlgorithm algorithm, byte[] data, byte[] signature)
          Verify a signature.
 



Copyright © 2018. All rights reserved.