Package networkTransfer.send
Class NetworkSendProcess
java.lang.Object
PamguardMVC.PamProcess
networkTransfer.send.NetworkSendProcess
- All Implemented Interfaces:
 PamObserver,ProcessAnnotator
- 
Field Summary
Fields inherited from class PamguardMVC.PamProcess
outputDataBlocks, parentDataBlock, processName, sampleRate - 
Constructor Summary
ConstructorsConstructorDescriptionNetworkSendProcess(NetworkSender networkSender, PamDataBlock parentDataBlock, int sendingFormat)  - 
Method Summary
Modifier and TypeMethodDescriptionintbooleanvoidnewData(PamObservable dataBlock, PamDataUnit dataUnit) voidpamStart()Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).voidpamStop()Stops the process.voidCalled for each process before any of them receive the PamStart commandvoidsetCommandProcess(boolean commandProcess) voidsetOutputFormat(int outputFormat) Methods inherited from class PamguardMVC.PamProcess
absMillisecondsToSamples, absSamplesToMilliseconds, addData, addMultiPlexDataBlock, addOutputDataBlock, changedThreading, clearOldData, createAnnotations, destroyProcess, dumpBufferStatus, flushDataBlockBuffers, getAncestorDataBlock, getAnnotation, getChainPosition, getCompatibleDataUnits, getCpuPercent, getFrequencyRange, getLastSourceNotificationObject, getLastSourceNotificationType, getMuiltiplexDataBlock, getNumAnnotations, getNumMuiltiplexDataBlocks, getNumOutputDataBlocks, getObserverName, getObserverObject, getOfflineData, getOfflineData, getOutputDataBlock, getOutputDataBlocks, getPamControlledUnit, getParentDataBlock, getParentDataBlocks, getParentProcess, getProcessCheck, getRawSourceDataBlock, getRawSourceDataBlock, getRequiredDataHistory, getSampleRate, getSourceDataBlock, getSourceProcess, hasOutputDatablock, isCanMultiThread, isExternalProcess, isMultiplex, makePamProcess, masterClockUpdate, noteNewSettings, notifyModelChanged, prepareProcessOK, processNewBuoyData, receiveSourceNotification, relMillisecondsToSamples, relSamplesToMilliseconds, removeAllDataBlocks, removeAllMultiPlexDataBlocks, removeMultiPlexDataBlock, removeObservable, removeOutputDatablock, resetDataBlocks, saveViewerData, setCanMultiThread, setExternalProcess, setMultiplex, setParentDataBlock, setParentDataBlock, setProcessCheck, setProcessName, setSampleRate, setupProcess, toString, updateData 
- 
Constructor Details
- 
NetworkSendProcess
public NetworkSendProcess(NetworkSender networkSender, PamDataBlock parentDataBlock, int sendingFormat)  
 - 
 - 
Method Details
- 
prepareProcess
public void prepareProcess()Description copied from class:PamProcessCalled for each process before any of them receive the PamStart command- Overrides:
 prepareProcessin classPamProcess
 - 
pamStart
public void pamStart()Description copied from class:PamProcessCalled for each process to tell it to start (may not be necessary for processes which are listening for data anyway).- Specified by:
 pamStartin classPamProcess
 - 
pamStop
public void pamStop()Description copied from class:PamProcessStops the process.- Specified by:
 pamStopin classPamProcess
 - 
getProcessName
- Overrides:
 getProcessNamein classPamProcess- Returns:
 - Name of the PamProcess
 
 - 
newData
- Overrides:
 newDatain classPamProcess
 - 
setCommandProcess
public void setCommandProcess(boolean commandProcess) - Parameters:
 commandProcess- the commandProcess to set
 - 
isCommandProcess
public boolean isCommandProcess()- Returns:
 - the commandProcess
 
 - 
getOutputFormat
public int getOutputFormat() - 
setOutputFormat
public void setOutputFormat(int outputFormat)  
 -