com.prosysopc.ua.server
Class ServiceContext

java.lang.Object
  extended by com.prosysopc.ua.server.ServiceContext

public class ServiceContext
extends Object

Client session information, managed by the OPC UA client. The session object is used to keep track of a client session, including diagnostic information.


Field Summary
static ServiceContext INTERNAL_OPERATION_CONTEXT
           
 
Constructor Summary
ServiceContext(Session session, org.opcfoundation.ua.core.RequestHeader requestHeader)
           
 
Method Summary
 boolean equals(Object other)
           
 String getAuditEntryId()
           
 org.opcfoundation.ua.builtintypes.UnsignedInteger getReturnDiagnostics()
           
 Session getSession()
           
 org.opcfoundation.ua.builtintypes.UnsignedInteger getTimeoutHint()
           
 org.opcfoundation.ua.builtintypes.DateTime getTimestamp()
           
 int hashCode()
           
 boolean isInternal()
           
 boolean isTimeout()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERNAL_OPERATION_CONTEXT

public static final ServiceContext INTERNAL_OPERATION_CONTEXT
Constructor Detail

ServiceContext

public ServiceContext(Session session,
                      org.opcfoundation.ua.core.RequestHeader requestHeader)
Parameters:
session -
requestHeader -
Method Detail

equals

public boolean equals(Object other)
Overrides:
equals in class Object

getAuditEntryId

public String getAuditEntryId()
Returns:
See Also:
RequestHeader.getAuditEntryId()

getReturnDiagnostics

public org.opcfoundation.ua.builtintypes.UnsignedInteger getReturnDiagnostics()
Returns:
See Also:
RequestHeader.getReturnDiagnostics()

getSession

public Session getSession()
Returns:
the session

getTimeoutHint

public org.opcfoundation.ua.builtintypes.UnsignedInteger getTimeoutHint()
Returns:
See Also:
RequestHeader.getTimeoutHint()

getTimestamp

public org.opcfoundation.ua.builtintypes.DateTime getTimestamp()
Returns:
See Also:
RequestHeader.getTimestamp()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isInternal

public boolean isInternal()

isTimeout

public boolean isTimeout()


Copyright © 2018. All rights reserved.