Documentation for a minimal subset of the QSM API
Get Method (maximumSize, data, callback, context, moreAvailable)
Namespaces > QS.Fx.Network > ISource > Get(Int32, Data, ContextCallback, Object, Boolean)
Get the next packet from the stream.
Syntax
C#Visual BasicManaged C++
bool Get (
	int maximumSize,
	out Data data,
	out ContextCallback callback,
	out Object context,
	out bool moreAvailable
)
Function Get ( _
	maximumSize As Integer, _
	<OutAttribute> ByRef data As Data, _
	<OutAttribute> ByRef callback As ContextCallback, _
	<OutAttribute> ByRef context As Object, _
	<OutAttribute> ByRef moreAvailable As Boolean _
) As Boolean
bool Get (
	int maximumSize, 
	Data% data, 
	ContextCallback^% callback, 
	Object^% context, 
	bool% moreAvailable
)
Parameters
maximumSize (Int32)
The maximum number of bytes to return in the packet.
data (Data)
The list of contiguous memory segments that constitute the packet.
callback (ContextCallback)
The callback to be invoked when the packet has been physically transmitted.
context (Object)
The context object to be passed to the callback.
moreAvailable (Boolean)
Indicates whether there are more packets to send in this stream.
Return Value
Tru if a packet was produced, false if the strream could not produce a packet. If the result is true, the stream will remain registered with the data sink. If the result is false, the stream will be unregistered and detached from the sink.

Assembly: QuickSilver_1 (Module: QuickSilver_1) Version: 1.0.0.0