GigaSpaces XAP.NET Documentation
WaitForSink Method (sourceGatewayName, timeout)
Class LibraryGigaSpaces.Core.Admin.ServiceGrid.GatewayIGatewayWaitForSink(String, TimeSpan)
Waits for the specified timeout (in time interval) till the gateway sink with the given source gateway name is identified as deployed.
Declaration Syntax
C#Visual BasicVisual C++J#
IGatewaySink WaitForSink(
	string sourceGatewayName,
	TimeSpan timeout
)
Function WaitForSink ( _
	sourceGatewayName As String, _
	timeout As TimeSpan _
) As IGatewaySink
IGatewaySink^ WaitForSink(
	String^ sourceGatewayName, 
	TimeSpan timeout
)
IGatewaySink WaitForSink(
	String sourceGatewayName,
	TimeSpan timeout
)
Parameters
sourceGatewayName (String)
The source gateway name to look for in a sink.
timeout (TimeSpan)
Time to wait.
Return Value
A IGatewaySink that has a source with the given gateway name or
CopyC#
null
if the sink is not deployed within the specified timeout.

Assembly: GigaSpaces.Core (Module: GigaSpaces.Core) Version: 9.6.2.9900 (9.6.2.9900)