com.elvyx.server
Class ResponseImpl

java.lang.Object
  extended by com.elvyx.server.ResponseImpl
All Implemented Interfaces:
Response

public class ResponseImpl
extends java.lang.Object
implements Response

It is the response implementation.

Since:
1.0
Version:
$Revision: 1.1 $
Author:
Armando Perdomo

Constructor Summary
ResponseImpl()
           
 
Method Summary
 long getFileLength()
          Return the file length
 java.lang.String getFileName()
          Get file name.
 java.lang.String getMessage()
          return the xml message
 void setFileLength(long fileLength)
          Set the file length
 void setFileName(java.lang.String filename)
          Set file name
 void setMessage(java.lang.String message)
          Set xml message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseImpl

public ResponseImpl()
Method Detail

setMessage

public void setMessage(java.lang.String message)
Set xml message

Specified by:
setMessage in interface Response
Parameters:
XML - message

getMessage

public java.lang.String getMessage()
return the xml message

Specified by:
getMessage in interface Response
Returns:
xml message

getFileLength

public long getFileLength()
Return the file length

Specified by:
getFileLength in interface Response
Returns:

setFileLength

public void setFileLength(long fileLength)
Set the file length

Specified by:
setFileLength in interface Response
Parameters:
fileLength -

getFileName

public java.lang.String getFileName()
Description copied from interface: Response
Get file name. It is used if the server received a file

Specified by:
getFileName in interface Response

setFileName

public void setFileName(java.lang.String filename)
Description copied from interface: Response
Set file name

Specified by:
setFileName in interface Response


Copyright © 2006-2008 Armando Perdomo. All Rights Reserved.