Interface RemoteContext

All Known Implementing Classes:
NullRemoteContext, RemoteContextImpl

@Deprecated public interface RemoteContext
Deprecated.
  • Method Details

    • getHttpSessionId

      @Nullable @Nullable String getHttpSessionId()
      Deprecated.
    • getUserName

      @Nullable @Nullable String getUserName()
      Deprecated.
    • getScriptSessionId

      @Nullable @Nullable String getScriptSessionId()
      Deprecated.
    • currentThreadIsWebThread

      boolean currentThreadIsWebThread()
      Deprecated.
    • withCurrentBrowser

      void withCurrentBrowser(String actionName, @Nullable @Nullable Object... params)
      Deprecated.
      Call action only in current browser (not in all sessions of the current user).

      Note: This method is not available in Non-Web threads.

      Parameters:
      actionName - The action in the client to call.
      params - Params to pass to the action.
    • withCurrentUser

      void withCurrentUser(String actionName, @Nullable @Nullable Object... params)
      Deprecated.
      Call action in all sessions of the current user.

      Note: This method is not available if the user name is null.

      Parameters:
      actionName - The action in the client to call.
      params - Params to pass to the action.
    • withUser

      void withUser(String userName, String actionName, @Nullable @Nullable Object... params)
      Deprecated.
      Call action in all sessions of the given user.
      Parameters:
      userName - The user to call.
      actionName - The action in the client to call.
      params - Params to pass to the action.
    • withScriptSession

      void withScriptSession(String scriptSessionId, String actionName, @Nullable @Nullable Object... params)
      Deprecated.
      Call action in script session with the given id.
      Parameters:
      scriptSessionId - The id of the script session to call.
      actionName - The action in the client to call.
      params - Params to pass to the action.
    • withAll

      void withAll(String actionName, @Nullable @Nullable Object... params)
      Deprecated.
      Call action in all sessions.
      Parameters:
      actionName - The action in the client to call.
      params - Params to pass to the action.