anon.infoservice
Interface IDistributable

All Known Implementing Classes:
AbstractDistributableCertifiedDatabaseEntry, AbstractDistributableDatabaseEntry, InfoServiceDBEntry, JAPMinVersion, JAPVersionInfo, JavaVersionDBEntry, MessageDBEntry, MixCascade, MixInfo, PaymentInstanceDBEntry, StatusInfo, TermsAndConditionsTemplate

public interface IDistributable

This is a generic definition of information that is sent to other infoservices.


Field Summary
static java.lang.String FIELD_HTTP_REQUEST_STRING
           
static java.lang.String FIELD_HTTP_SERIALS_REQUEST_STRING
           
 
Method Summary
 java.lang.String getId()
          Returns a ID for this information.
 byte[] getPostData()
          Returns the data to post to the other infoservice.
 int getPostEncoding()
          Returns the content encoding of the post data.
 java.lang.String getPostFile()
          Returns the filename (InfoService command) to which the data of this entry is posted at the other infoservice.
 

Field Detail

FIELD_HTTP_REQUEST_STRING

static final java.lang.String FIELD_HTTP_REQUEST_STRING
See Also:
Constant Field Values

FIELD_HTTP_SERIALS_REQUEST_STRING

static final java.lang.String FIELD_HTTP_SERIALS_REQUEST_STRING
See Also:
Constant Field Values
Method Detail

getId

java.lang.String getId()
Returns a ID for this information. It is used as an identifier for logging status information.

Returns:
The ID of this information.

getPostFile

java.lang.String getPostFile()
Returns the filename (InfoService command) to which the data of this entry is posted at the other infoservice.

Returns:
The filename, where the data is posted when this entry is forwarded.

getPostEncoding

int getPostEncoding()
Returns the content encoding of the post data.

Returns:
the content encoding of the post data

getPostData

byte[] getPostData()
Returns the data to post to the other infoservice. In general this should be an XML structure with the data of this entry.

Returns:
The data to post to the other infoservice when this entry is forwarded.