Package networkTransfer.send
Class NetworkSendParams
java.lang.Object
networkTransfer.send.NetworkSendParams
- All Implemented Interfaces:
Serializable
,Cloneable
,ManagedParameters
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionint
Max number of queued Objects.int
Max queue size in kilobytesstatic final int
static final int
int
boolean
int
static final long
int
int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
findDataBlock
(PamDataBlock dataBlock) Find if a datablock is listed in the list of wanted datablocks.Get a set of data that describes all of the parameters in a classvoid
setDataBlock
(PamDataBlock dataBlock, boolean doSend) Set send selection for an individual datablock.
-
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
-
portNumber
public int portNumber -
password
-
userId
-
stationId1
public int stationId1 -
stationId2
public int stationId2 -
savePassword
public boolean savePassword -
sendingFormat
public int sendingFormat -
maxQueuedObjects
public int maxQueuedObjectsMax number of queued Objects. -
maxQueueSize
public int maxQueueSizeMax queue size in kilobytes
-
-
Constructor Details
-
NetworkSendParams
public NetworkSendParams()
-
-
Method Details
-
setDataBlock
Set send selection for an individual datablock.- Parameters:
dataBlock
- datablockdoSend
- true - will send, false don't send.
-
findDataBlock
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
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-