public GetRemoteServerIndex ( uint localIndex ) : uint | ||
localIndex | uint | The local server index. |
return | uint |
public uint GetRemoteServerIndex(uint localIndex)
{
if (localIndex < 2)
{
return localIndex;
}
lock (m_lock)
{
int remoteIndex = m_serverUris.LocalToRemote[localIndex];
if (remoteIndex < 0)
{
return UInt32.MaxValue;
}
return (uint)remoteIndex;
}
}