org.apache.sysds.runtime.controlprogram.federated

## Class FederatedRequest

- java.lang.Object
- - org.apache.sysds.runtime.controlprogram.federated.FederatedRequest

- All Implemented Interfaces:
    Serializable

      public class FederatedRequest
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `FederatedRequest.RequestType`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `FederatedRequest(FederatedRequest.RequestType method)`
    `FederatedRequest(FederatedRequest.RequestType method, long id)`
    `FederatedRequest(FederatedRequest.RequestType method, long id, List<Object> data)`
    `FederatedRequest(FederatedRequest.RequestType method, long id, Object... data)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `FederatedRequest` | `appendParam(Object obj)`
    `FederatedRequest` | `appendParams(Object... objs)`
    `boolean` | `checkPrivacy()`
    `FederatedRequest` | `deepClone()`
    `long` | `getChecksum(int i)`
    `long` | `getID()`
    `int` | `getNumParams()`
    `Object` | `getParam(int i)`
    `long` | `getTID()`
    `FederatedRequest.RequestType` | `getType()`
    `void` | `setCheckPrivacy()`
    `void` | `setCheckPrivacy(boolean checkPrivacy)`
    `void` | `setChecksum()`
    `void` | `setTID(long tid)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### FederatedRequest

          public FederatedRequest(FederatedRequest.RequestType method)

    - #### FederatedRequest

          public FederatedRequest(FederatedRequest.RequestType method,
                                  long id)

    - #### FederatedRequest

          public FederatedRequest(FederatedRequest.RequestType method,
                                  long id,
                                  Object... data)

    - #### FederatedRequest

          public FederatedRequest(FederatedRequest.RequestType method,
                                  long id,
                                  List<Object> data)

  - ### Method Detail

    - #### getType

          public FederatedRequest.RequestType getType()

    - #### getID

          public long getID()

    - #### getTID

          public long getTID()

    - #### setTID

          public void setTID(long tid)

    - #### getParam

          public Object getParam(int i)

    - #### appendParam

          public FederatedRequest appendParam(Object obj)

    - #### appendParams

          public FederatedRequest appendParams(Object... objs)

    - #### getNumParams

          public int getNumParams()

    - #### deepClone

          public FederatedRequest deepClone()

    - #### setCheckPrivacy

          public void setCheckPrivacy(boolean checkPrivacy)

    - #### setCheckPrivacy

          public void setCheckPrivacy()

    - #### checkPrivacy

          public boolean checkPrivacy()

    - #### setChecksum

          public void setChecksum()

    - #### getChecksum

          public long getChecksum(int i)

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2021 The Apache Software Foundation. All rights reserved.