|
RuneHive-Game
|
A class which points to a file in the cache. More...
Public Member Functions | |
| FileDescriptor (int type, int file) | |
| Creates the file descriptor. | |
| int | getFile () |
| Gets the file id. | |
| int | getType () |
| Gets the file type. | |
| String | toString () |
Private Attributes | |
| final int | file |
| The file id. | |
| final int | type |
| The file type. | |
A class which points to a file in the cache.
Definition at line 7 of file FileDescriptor.java.
| dev.advo.fs.fs.FileDescriptor.FileDescriptor | ( | int | type, |
| int | file ) |
Creates the file descriptor.
| type | The file type. |
| file | The file id. |
Definition at line 29 of file FileDescriptor.java.
| int dev.advo.fs.fs.FileDescriptor.getFile | ( | ) |
Gets the file id.
Definition at line 46 of file FileDescriptor.java.
References file.
Referenced by dev.advo.fs.net.ondemand.OnDemandResponseEncoder.encode().
| int dev.advo.fs.fs.FileDescriptor.getType | ( | ) |
Gets the file type.
Definition at line 38 of file FileDescriptor.java.
References type.
Referenced by dev.advo.fs.net.ondemand.OnDemandResponseEncoder.encode().
| String dev.advo.fs.fs.FileDescriptor.toString | ( | ) |
Definition at line 10 of file FileDescriptor.java.
Referenced by dev.advo.fs.dispatch.OnDemandRequestWorker.service().
|
private |
The file id.
Definition at line 22 of file FileDescriptor.java.
Referenced by FileDescriptor(), getFile(), and toString().
|
private |
The file type.
Definition at line 17 of file FileDescriptor.java.
Referenced by FileDescriptor(), getType(), and toString().