|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface that can be used on the server or client to represent an end-point for transmitting a file across the RMI link..
| Method Summary | |
arlut.csd.ganymede.ReturnVal |
end(boolean completed)
This method is called to notify the FileReceiver that no more of the file will be transmitted. |
arlut.csd.ganymede.ReturnVal |
sendBytes(byte[] bytes)
This method is used to send chunks of a file, in order, to the FileReceiver. |
arlut.csd.ganymede.ReturnVal |
sendBytes(byte[] bytes,
int offset,
int len)
This method is used to send chunks of a file, in order, to the FileReceiver. |
| Method Detail |
public arlut.csd.ganymede.ReturnVal sendBytes(byte[] bytes)
throws java.rmi.RemoteException
This method is used to send chunks of a file, in order, to the FileReceiver. The FileReceiver can return a non-successful ReturnVal if it wants to stop receiving the file. A null return value indicates success, keep sending.
java.rmi.RemoteException
public arlut.csd.ganymede.ReturnVal sendBytes(byte[] bytes,
int offset,
int len)
throws java.rmi.RemoteException
This method is used to send chunks of a file, in order, to the FileReceiver. The FileReceiver can return a non-successful ReturnVal if it wants to stop receiving the file. A null return value indicates success, keep sending.
java.rmi.RemoteException
public arlut.csd.ganymede.ReturnVal end(boolean completed)
throws java.rmi.RemoteException
This method is called to notify the FileReceiver that no more of the file will be transmitted. The boolean parameter will be true if the file was completely sent, or false if the transmission is being aborted by the sender for some reason.
java.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||