org.tango.server
Class InvocationContext

java.lang.Object
  extended by org.tango.server.InvocationContext

public final class InvocationContext
extends java.lang.Object

Author:
ABEILLE
See Also:
AroundInvoke

Nested Class Summary
static class InvocationContext.CallType
          Describe how the value retrieval is performed
static class InvocationContext.ContextType
          Define the possible invoke contextes.
 
Constructor Summary
InvocationContext(InvocationContext.ContextType context, InvocationContext.CallType callType, fr.esrf.Tango.ClntIdent clientID, java.lang.String... names)
          Ctr
 
Method Summary
 InvocationContext.CallType getCallType()
          InvocationContext.CallType
 java.lang.String getClientHostName()
          Get the client host name
 fr.esrf.Tango.ClntIdent getClientID()
          client ID.
 InvocationContext.ContextType getContext()
          InvocationContext.ContextType
 java.lang.String[] getNames()
          Command names or attributes names
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvocationContext

public InvocationContext(InvocationContext.ContextType context,
                         InvocationContext.CallType callType,
                         fr.esrf.Tango.ClntIdent clientID,
                         java.lang.String... names)
Ctr

Parameters:
context - InvocationContext.ContextType
names - Command name or attributes names
Method Detail

getNames

public java.lang.String[] getNames()
Command names or attributes names

Returns:
Command names or attributes names

getCallType

public InvocationContext.CallType getCallType()
InvocationContext.CallType

Returns:
The call type

getContext

public InvocationContext.ContextType getContext()
InvocationContext.ContextType

Returns:
The context

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getClientID

public fr.esrf.Tango.ClntIdent getClientID()
client ID. Works only for read_attribute(s), write_attribute(s), write_read_attribute(s), command_inout and IDL >=4 and when request is not performed by the polling threads.

Returns:
the client id

getClientHostName

public java.lang.String getClientHostName()
Get the client host name

Returns:


Copyright © 2012-2016. All Rights Reserved.