au.edu.swin.synergy.plugin.rooms.event
Class BGetFileCE
java.lang.Object
|
+--java.util.EventObject
|
+--au.edu.swin.synergy.kernel.BCommandEvent
|
+--au.edu.swin.synergy.plugin.rooms.event.BGetFileCE
- public class BGetFileCE
- extends BCommandEvent
- See Also:
- Serialized Form
Methods inherited from class au.edu.swin.synergy.kernel.BCommandEvent |
decrementThreadCount,
doComplete,
doInit,
getAutoComplete,
getCompletionObject,
getCompletionStatus,
getConnectionID,
getIndex,
getNetworkStatus,
getPipe,
getUndoable,
setAutoComplete,
setCompletionObject,
setCompletionStatus,
setConnectionID,
setIndex,
setNetworkStatus,
setPipe,
setThreadCount,
setUndoable |
BGetFileCE
public BGetFileCE(Object source,
String name,
BCommandComplete complete)
- Constructor
- Parameters:
source
- Source of event.name
- Name of file to retrieve.complete
- Completion object of which file will be returned to client.
getFileName
public String getFileName()
- Get name of file.
- Returns:
- Name of file.
- Pre Condition:
- File name has been set.
setFileName
public void setFileName(String name)
- Set name of file to be retrieved by this event.
- Parameters:
name
- Name of file.- Pre Condition:
- File name hasn't been set.
- Post Condition:
- File name is set.
getFile
public BFile getFile()
- Get file contained in this event.
- Returns:
- File object containing file in compressed form.
- Pre Condition:
- File has been set.
setFile
public void setFile(BFile file)
- Set file to be returned to client.
- Parameters:
file
- File object.- Pre Condition:
- File object hasn't been set.