Class NetworkSendParams

java.lang.Object
networkTransfer.send.NetworkSendParams
All Implemented Interfaces:
Serializable, Cloneable, ManagedParameters

public class NetworkSendParams extends Object implements Serializable, Cloneable, ManagedParameters
See Also:
  • Field Details

    • serialVersionUID

      public static final long serialVersionUID
      See Also:
    • NETWORKSEND_BYTEARRAY

      public static final int NETWORKSEND_BYTEARRAY
      See Also:
    • NETWORKSEND_JSON

      public static final int NETWORKSEND_JSON
      See Also:
    • ipAddress

      public String ipAddress
    • portNumber

      public int portNumber
    • password

      public String password
    • userId

      public String userId
    • stationId1

      public int stationId1
    • stationId2

      public int stationId2
    • savePassword

      public boolean savePassword
    • sendingFormat

      public int sendingFormat
    • maxQueuedObjects

      public int maxQueuedObjects
      Max number of queued Objects.
    • maxQueueSize

      public int maxQueueSize
      Max queue size in kilobytes
  • Constructor Details

    • NetworkSendParams

      public NetworkSendParams()
  • Method Details

    • setDataBlock

      public void setDataBlock(PamDataBlock dataBlock, boolean doSend)
      Set send selection for an individual datablock.
      Parameters:
      dataBlock - datablock
      doSend - true - will send, false don't send.
    • findDataBlock

      public String findDataBlock(PamDataBlock dataBlock)
      Find if a datablock is listed in the list of wanted datablocks. If it is, return a reference to the string in the array list.
      Parameters:
      dataBlock - datablock.
      Returns:
      reference to string name.
    • clearDataBlocks

      public void clearDataBlocks()
    • getParameterSet

      public PamParameterSet getParameterSet()
      Description copied from interface: ManagedParameters
      Get a set of data that describes all of the parameters in a class
      Specified by:
      getParameterSet in interface ManagedParameters
      Returns:
      description of the parameters in a class.