Package | Description |
---|---|
agilermi.exception |
Provides all the exception that can be thrown during a RMI operation.
|
agilermi.utility.io |
Provides classes and interfaces used to get remote access to IO objects, such
as
OutputStream objects and RandomAccessFile
objects. |
Modifier and Type | Class and Description |
---|---|
class |
AuthorizationException
Exception thrown when the invoker is not authorized to invoke a remote
method.
|
class |
ObjectNotFoundException
Exception thrown when the remote object cannot be found during a remote
method invocation.
|
Modifier and Type | Method and Description |
---|---|
int |
RemoteInput.available()
Gets an estimate of the available bytes.
|
long |
RandomAccessService.length()
Same as
RandomAccessFile.length() . |
int |
RemoteInput.read()
Read data from the remote byte input.
|
byte[] |
RemoteInput.read(int len)
Read data from the remote byte input.
|
boolean |
RandomAccessService.readBoolean()
Same as
RandomAccessFile.readBoolean() . |
byte |
RandomAccessService.readByte()
Same as
RandomAccessFile.readByte() . |
char |
RandomAccessService.readChar()
Same as
RandomAccessFile.readChar() . |
double |
RandomAccessService.readDouble()
Same as
RandomAccessFile.readDouble() . |
float |
RandomAccessService.readFloat()
Same as
RandomAccessFile.readFloat() . |
byte[] |
RandomAccessService.readFully(int len)
Same as
RandomAccessFile.readFully(byte[], int, int) but construct
the byte[] result itself, instead of taking it as a parameter. |
int |
RandomAccessService.readInt()
Same as
RandomAccessFile.readInt() . |
java.lang.String |
RandomAccessService.readLine()
Same as
RandomAccessFile.readLine() . |
long |
RandomAccessService.readLong()
Same as
RandomAccessFile.readLong() . |
short |
RandomAccessService.readShort()
Same as
RandomAccessFile.readShort() . |
int |
RandomAccessService.readUnsignedByte()
Same as
RandomAccessFile.readUnsignedByte() . |
int |
RandomAccessService.readUnsignedShort()
Same as
RandomAccessFile.readUnsignedShort() . |
java.lang.String |
RandomAccessService.readUTF()
Same as
RandomAccessFile.readUTF() . |
void |
RandomAccessService.seek(long pos)
Same as
RandomAccessFile.seek(long) . |
void |
RandomAccessService.setLength(long newLength)
Same as
RandomAccessFile.setLength(long) . |
int |
RandomAccessService.skipBytes(int n)
Same as
RandomAccessFile.skipBytes(int) . |
void |
RemoteOutput.write(byte[] bytes)
Write a block of bytes to the remote output.
|
void |
RandomAccessService.write(byte[] b)
Same as
RandomAccessFile.write(byte[]) . |
void |
RemoteOutput.write(int b)
Write a byte to the remote output.
|
void |
RandomAccessService.write(int b)
Same as
RandomAccessFile.write(int) . |
void |
RandomAccessService.writeBoolean(boolean v)
Same as
RandomAccessFile.writeBoolean(boolean) . |
void |
RandomAccessService.writeByte(int v)
Same as
RandomAccessFile.writeByte(int) . |
void |
RandomAccessService.writeBytes(java.lang.String s)
Same as
RandomAccessFile.writeBytes(String) . |
void |
RandomAccessService.writeChar(int v)
Same as
RandomAccessFile.writeChar(int) . |
void |
RandomAccessService.writeChars(java.lang.String s)
Same as
RandomAccessFile.writeChars(String) . |
void |
RandomAccessService.writeDouble(double v)
Same as
RandomAccessFile.writeDouble(double) . |
void |
RandomAccessService.writeFloat(float v)
Same as
RandomAccessFile.writeFloat(float) . |
void |
RandomAccessService.writeInt(int v)
Same as
RandomAccessFile.writeInt(int) . |
void |
RandomAccessService.writeLong(long v)
Same as
RandomAccessFile.writeLong(long) . |
void |
RandomAccessService.writeShort(int v)
Same as
RandomAccessFile.writeShort(int) . |
void |
RandomAccessService.writeUTF(java.lang.String s)
Same as
RandomAccessFile.writeUTF(String) . |