public CreateNetConfSession ( ISession session, System.TimeSpan operationTimeout ) : INetConfSession | ||
session | ISession | The |
operationTimeout | System.TimeSpan | The operation timeout. |
return | INetConfSession |
public INetConfSession CreateNetConfSession(ISession session, TimeSpan operationTimeout)
{
return new NetConfSession(session, operationTimeout);
}
}
/// <summary> /// Called when client is connected to the server. /// </summary> protected override void OnConnected() { base.OnConnected(); _netConfSession = ServiceFactory.CreateNetConfSession(Session, OperationTimeout); _netConfSession.Connect(); }