|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--arlut.csd.ganymede.client.xmlclientPrintReceiver
This class is used to act as a receiver of server-transmitted XML materials by the XML client. The server talks to this receiver when the xmlclient is given the -dumpschema or -dumpdata command line parameters.
| Constructor Summary | |
(package private) |
xmlclientPrintReceiver()
|
| Method Summary | |
ReturnVal |
end(boolean completed)
This method is called to notify the FileReceiver that no more of the file will be transmitted. |
ReturnVal |
sendBytes(byte[] bytes)
This method is used to send chunks of a file, in order, to the FileReceiver. |
ReturnVal |
sendBytes(byte[] bytes,
int offset,
int len)
This method is used to send chunks of a file, in order, to the FileReceiver. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
xmlclientPrintReceiver()
| Method Detail |
public ReturnVal sendBytes(byte[] bytes)
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 doesn't want to stop receiving the file. A null return value indicates success, keep sending.
sendBytes in interface FileReceiver
public ReturnVal sendBytes(byte[] bytes,
int offset,
int len)
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 doesn't want to stop receiving the file. A null return value indicates success, keep sending.
sendBytes in interface FileReceiverpublic ReturnVal end(boolean completed)
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.
end in interface FileReceiver
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||