private StreamResultMessage doStreamOp(final StreamRequestMessage requestMsg)
throws IOException {
try {
// send the message and get a StreamResultMessage in return
final StreamResultMessage result = (StreamResultMessage) sendAndWait(requestMsg);
if (result.causedException()) {
throw result.getException();
}
return result;
} catch (final RemoteOSGiException e) {
throw new RemoteOSGiException("Invocation of operation " //$NON-NLS-1$