Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteDesktopServiceImpl"/> class.
 /// </summary>
 /// <param name="channel">The channel.</param>
 /// <param name="sessionId">The session id.</param>
 public RemoteDesktopServiceImpl(Forge.Net.Remoting.Channels.Channel channel, System.String sessionId)
     : base(channel, sessionId)
 {
     this.SubscribedClips = new HashSet <DesktopClip>();
     this.LastCursorId    = string.Empty;
     RemoteDesktopServiceManager.Instance.RegisterNewContract(this);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteDesktopAbstractServiceProxy"/> class.
 /// </summary>
 /// <param name="channel">The channel.</param>
 /// <param name="sessionId">The session id.</param>
 protected RemoteDesktopAbstractServiceProxy(Forge.Net.Remoting.Channels.Channel channel, System.String sessionId) : base(channel, sessionId)
 {
     channel.SessionStateChange += new System.EventHandler <Net.Remoting.Channels.SessionStateEventArgs>(Channel_SessionStateChange);
     Forge.Net.Remoting.Channels.ISessionInfo info = channel.GetSessionInfo(sessionId);
     this.IsConnected = info == null ? false : true;
     if (info != null)
     {
         this.RemoteHost = info.RemoteEndPoint.Host;
     }
 }
 public TestContractServiceImpl(Forge.Net.Remoting.Channels.Channel channel, System.String sessionId) : base(channel, sessionId)
 {
 }
 protected TestContractStreamAbstractClientProxy(Forge.Net.Remoting.Channels.Channel channel, System.String sessionId) : base(channel, sessionId)
 {
 }
 public TestSingleCallClientImpl(Forge.Net.Remoting.Channels.Channel channel, System.String sessionId) : base(channel, sessionId)
 {
 }
Beispiel #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TimeServerClientImpl"/> class.
 /// </summary>
 /// <param name="channel">The channel.</param>
 /// <param name="sessionId">The session id.</param>
 public TimeServerClientImpl(Forge.Net.Remoting.Channels.Channel channel, System.String sessionId) : base(channel, sessionId)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoteDesktopClientImpl"/> class.
 /// </summary>
 /// <param name="channel">The channel.</param>
 /// <param name="sessionId">The session id.</param>
 public RemoteDesktopClientImpl(Forge.Net.Remoting.Channels.Channel channel, System.String sessionId) : base(channel, sessionId)
 {
     this.LastCursorId = string.Empty;
 }
Beispiel #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ErrorReportClientImpl"/> class.
 /// </summary>
 /// <param name="channel">The channel.</param>
 /// <param name="sessionId">The session id.</param>
 public ErrorReportClientImpl(Forge.Net.Remoting.Channels.Channel channel, System.String sessionId) : base(channel, sessionId)
 {
 }
Beispiel #9
0
 protected TestContractAbstractServiceProxy(Forge.Net.Remoting.Channels.Channel channel, System.String sessionId) : base(channel, sessionId)
 {
 }