Flows a GatewayRequest to the Gateway daemon.

Namespace:  IBM.CTG
Assembly:  IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 1.0.0.0

Syntax

C#
public int Flow(
	GatewayRequest request
)
Visual Basic (Declaration)
Public Function Flow ( _
	request As GatewayRequest _
) As Integer
Visual C++
public:
int Flow(
	GatewayRequest^ request
)

Parameters

request
Type: IBM.CTG..::.GatewayRequest
The GatewayRequest to flow.

Return Value

The return code from the request. The possible values depend upon the type of GatewayRequest that was flowed.

Remarks

A return code of zero indicates the request completed successfully.

Exceptions

ExceptionCondition
System..::.InvalidOperationExceptionThe thread that attempted to use the GatewayConnection is different to the one that created it.
System..::.ObjectDisposedExceptionThe GatewayConnection has been closed.
System.Net.Sockets..::.SocketExceptionThe connection to the Gateway daemon has been lost.
IBM.CTG..::.GatewayExceptionAn error occurred within the Gateway daemon.

See Also