Re: [Opentnl-general] RPC with ByteBufferRef
Brought to you by:
mark_frohnmayer,
s_alanet
From: Mark F. <ma...@ga...> - 2004-04-22 15:51:10
|
Right now the RPC size is limited to less than the maximum size of a packet, since 1 RPC = 1 RPCEvent. What I'd like to do at some point is have the RPC code break up the packed data into chunks, if the total size is greater than some threshold (say 512 bytes), and then reassemble those chunk events on the remote side. Anthony Green wrote: >On Thu, 2004-04-22 at 01:40, Anthony Green wrote: > > >>I'm using ByteBufferRef args for a remote procedure call. >> >>Does OpenTNL limit the size of these buffers when used as arguments? >> >> > >Ok, poking through the code I see this in tnlBitStream.h: > > /// Writes a ByteBuffer into the stream. The ByteBuffer can be no >larger than 1024 bytes in size. > bool write(const ByteBuffer *theBuffer); > >So.. is there an example somewhere of sending a larger amount of data >using OpenTNL? The RPC mechanism was really convenient :-( > >AG > > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >Opentnl-general mailing list >Ope...@li... >https://lists.sourceforge.net/lists/listinfo/opentnl-general > > |