access to virtual functions



I wonder if we should implement the following functions for the
Stream interface:

void          bonobo_stream_write    (BonoboStream *stream,
                                      const Bonobo_Stream_iobuf *buffer,
                                      CORBA_Environment *ev);
void          bonobo_stream_read     (BonoboStream *stream,
                                      CORBA_long count,
                                      Bonobo_Stream_iobuf **buffer,
                                      CORBA_Environment *ev);
CORBA_long    bonobo_stream_seek     (BonoboStream *stream,
                                      CORBA_long offset,
                                      Bonobo_Stream_SeekType whence,
                                      CORBA_Environment *ev);
void          bonobo_stream_truncate (BonoboStream *stream,
                                      const CORBA_long new_size,
                                      CORBA_Environment *ev);
void          bonobo_stream_copy_to  (BonoboStream *stream,
                                      const CORBA_char * dest,
                                      const CORBA_long bytes,
                                      CORBA_long *read,
                                      CORBA_long *written,
                                      CORBA_Environment *ev);
...

So that the server can access the virtual functions?
 
 
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]