Package networkTransfer.send
Class NetworkSendParams
java.lang.Object
networkTransfer.send.NetworkSendParams
- All Implemented Interfaces:
Serializable,Cloneable,ManagedParameters
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionintMax number of queued Objects.intMax queue size in kilobytesstatic final intstatic final intintbooleanintstatic final longintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected NetworkSendParamsclone()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 classvoidsetDataBlock(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.
-
clone
-
clearDataBlocks
public void clearDataBlocks() -
getParameterSet
Description copied from interface:ManagedParametersGet a set of data that describes all of the parameters in a class- Specified by:
getParameterSetin interfaceManagedParameters- Returns:
- description of the parameters in a class.
-