Package de.dlr.proseo.api.edipmon
Class EdipMonitor.TransferSession
java.lang.Object
de.dlr.proseo.api.edipmon.EdipMonitor.TransferSession
- All Implemented Interfaces:
TransferObject
- Enclosing class:
EdipMonitor
Class describing a download session
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDsibFileForChannel(String channel) Gets the DSIB file for a given channelGets the combined transfer object identifier: satellite|station unit|session IDGets the session reference timeGets the session identifierGets the path to the session datavoidsetReferenceTime(Instant referenceTime) Sets the session reference timevoidsetSessionIdentifier(String sessionIdentifier) Sets the session identifiervoidsetSessionPath(Path sessionPath) Sets the path to the session data
-
Constructor Details
-
TransferSession
public TransferSession()
-
-
Method Details
-
getSessionIdentifier
Gets the session identifier- Returns:
- the session identifier
-
setSessionIdentifier
Sets the session identifier- Parameters:
sessionIdentifier- the session identifier to set
-
getSessionPath
Gets the path to the session data- Returns:
- the session data path
-
setSessionPath
Sets the path to the session data- Parameters:
sessionPath- the session data path to set
-
getReferenceTime
Gets the session reference time- Specified by:
getReferenceTimein interfaceTransferObject- Returns:
- the reference time
-
setReferenceTime
Sets the session reference time- Parameters:
referenceTime- the reference time to set
-
getIdentifier
Gets the combined transfer object identifier: satellite|station unit|session ID- Specified by:
getIdentifierin interfaceTransferObject- See Also:
-
getDsibFileForChannel
Gets the DSIB file for a given channel- Parameters:
channel- the channel identifier ("ch_x")- Returns:
- the path to the DSIB file belonging to the given channel, or null, if no suitable file was found
-