|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmedisyn.Request
public class Request
Represents a session-request for a file
| Field Summary | |
|---|---|
private int |
fileID
The id of the file being requested. |
private java.lang.String |
logFile
Tells from which file the request came from (or better: should tell) |
private int |
operation
1==play (others not supported) |
private int |
sessionDuration
The duration of a session in seconds |
private int |
sessionStart
not implemented yet |
private int |
startTime
Time offset from simulation-start in seconds |
| Constructor Summary | |
|---|---|
Request(java.lang.String logFile)
construct+init a request object |
|
| Method Summary | |
|---|---|
protected Request |
clone()
clone the object |
int |
getFileID()
|
int |
getOperation()
|
int |
getSessionDuration()
|
int |
getSessionStart()
|
int |
getStartTime()
|
void |
setFileID(int fileID)
|
void |
setOperation(int operation)
|
void |
setSessionDuration(int sessionDuration)
|
void |
setSessionStart(int sessionStart)
|
void |
setStartTime(int startTime)
|
java.lang.String |
toString()
return String-representation of object |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private int startTime
private int fileID
private int sessionStart
private int sessionDuration
private int operation
private java.lang.String logFile
| Constructor Detail |
|---|
public Request(java.lang.String logFile)
| Method Detail |
|---|
public int getFileID()
public void setFileID(int fileID)
fileID - the fileID to setpublic int getOperation()
public void setOperation(int operation)
operation - the operation to setpublic int getSessionDuration()
public void setSessionDuration(int sessionDuration)
sessionDuration - the sessionDuration to setpublic int getSessionStart()
public void setSessionStart(int sessionStart)
sessionStart - the sessionStart to setpublic int getStartTime()
public void setStartTime(int startTime)
startTime - the startTime to set
protected Request clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||