Sun Adapter for Batch/FTP

com.stc.connector.batchadapter.webservice
Class FTPPutMessage

java.lang.Object
  extended by com.stc.connector.batchadapter.webservice.FTPPutMessage
All Implemented Interfaces:
com.stc.connector.persistence.bpel.PersistableData

public class FTPPutMessage
extends java.lang.Object
implements com.stc.connector.persistence.bpel.PersistableData

This class is the FTPPutMessage.


Constructor Summary
FTPPutMessage()
          Creates a new instance of FTPPutMessage
 
Method Summary
 FTPConfiguration getConfiguration()
          Gets the configuration.
 byte[] getPayload()
          Gets the payload.
 void persist(com.stc.connector.persistence.bpel.DataOutput dout)
          Persists (serialize) this message.
 void restore(com.stc.connector.persistence.bpel.DataInput din)
          Restore (deserialize) this message.
 void setPayload(byte[] newPayload)
          Sets the payload.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FTPPutMessage

public FTPPutMessage()
Creates a new instance of FTPPutMessage

Method Detail

getPayload

public byte[] getPayload()
Gets the payload.

Returns:
The payload.

setPayload

public void setPayload(byte[] newPayload)
Sets the payload.

Parameters:
newPayload - The new payload.

getConfiguration

public FTPConfiguration getConfiguration()
Gets the configuration.

Returns:
The configuration.

persist

public void persist(com.stc.connector.persistence.bpel.DataOutput dout)
             throws java.lang.Exception
Persists (serialize) this message.

Specified by:
persist in interface com.stc.connector.persistence.bpel.PersistableData
Parameters:
dout - The DataOutput to which the Java Bean message is persisted.
Throws:
java.lang.Exception - upon error.

restore

public void restore(com.stc.connector.persistence.bpel.DataInput din)
             throws java.lang.Exception
Restore (deserialize) this message.

Specified by:
restore in interface com.stc.connector.persistence.bpel.PersistableData
Parameters:
dis - The DataInput from which the Java Bean message is restored.
Throws:
java.lang.Exception - upon error.

Sun Adapter for Batch/FTP