BEAST
eu.baltrad.beast.message.BltDataFrameMessageFactory Class Reference

Defines the message format the is used by DEX. More...

Inheritance diagram for eu.baltrad.beast.message.BltDataFrameMessageFactory:
eu.baltrad.beast.message.IBltDataFrameMessageFactory

Public Member Functions

BltDataFrameMessage createMessage (String filename)
 Creates the message that is used.
 
String getNodeName ()
 
void setNodeName (String nodeName)
 
String getNodeUrl ()
 
void setNodeUrl (String nodeUrl)
 
String getServerUrl ()
 
void setServerUrl (String serverUrl)
 
void afterPropertiesSet () throws Exception
 
String getDateFormatString ()
 
void setDateFormatString (String dateFormatString)
 
String getKeyczarKey ()
 
void setKeyczarKey (String keyczarKey)
 
Signer getSigner ()
 

Protected Member Functions

void setSigner (Signer signer)
 For test purposes.
 
String getDateString ()
 
String createSignature (String method, String url, String contentType, String contentMD5, String date)
 Creates a signature.
 

Detailed Description

Defines the message format the is used by DEX.

Yes, we have a circular dependency here that ought to be removed some time in the future. Requires that the pgfwk is defined as a separate project with dependency towards DEX and BEAST but for now this is enough since beast and dex is more or less one anyway.

Author
Anders Henja

Member Function Documentation

◆ createMessage()

BltDataFrameMessage eu.baltrad.beast.message.BltDataFrameMessageFactory.createMessage ( String filename)
inline

Creates the message that is used.

Parameters
filenamethe name of the h5 file that should be sent
Returns
the message

Implements eu.baltrad.beast.message.IBltDataFrameMessageFactory.

◆ createSignature()

String eu.baltrad.beast.message.BltDataFrameMessageFactory.createSignature ( String method,
String url,
String contentType,
String contentMD5,
String date )
inlineprotected

Creates a signature.

Parameters
methodthe method. Typically POST
urlthe url
contentTypethe content type
contentMD5the MD5 content
datethe date
Returns
a signed string

◆ getDateString()

String eu.baltrad.beast.message.BltDataFrameMessageFactory.getDateString ( )
inlineprotected
Returns
the date string for now as defined by the date format string

◆ getSigner()

Signer eu.baltrad.beast.message.BltDataFrameMessageFactory.getSigner ( )
inline
Returns
the signer

◆ setSigner()

void eu.baltrad.beast.message.BltDataFrameMessageFactory.setSigner ( Signer signer)
inlineprotected

For test purposes.

Parameters
signerthe signer

The documentation for this class was generated from the following file: