OnStream Method

MCManager API

Gets called when data is streamed to client. This method should setup HTTP headers, content type etc and simply send out the binary data to the client and the return false ones that is done.

Namespace:  Moxiecode.Manager
Assembly:  MCManager (in MCManager.dll) Version: 1.0.0.0

Syntax

C#
public virtual bool OnStream(
	ManagerEngine man,
	string cmd,
	NameValueCollection input
)
Visual Basic (Declaration)
Public Overridable Function OnStream ( _
	man As ManagerEngine, _
	cmd As String, _
	input As NameValueCollection _
) As Boolean
Visual C++
public:
virtual bool OnStream(
	ManagerEngine^ man, 
	String^ cmd, 
	NameValueCollection^ input
)

Parameters

man
Type: Moxiecode.Manager..::.ManagerEngine
ManagerEngine reference that the plugin is assigned to.
cmd
Type: System..::.String
Stream command that is to be performed.
input
Type: System.Collections.Specialized..::.NameValueCollection
Array of input arguments.

Return Value

true/false if the execution of the event chain should continue execution.

Implements

IPlugin..::.OnStream(ManagerEngine, String, NameValueCollection)

See Also