ForwardedPortLocal.SilverlightShared.cs 668 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Net.Sockets;
  3. using System.Net;
  4. using System.Threading;
  5. using Renci.SshNet.Channels;
  6. namespace Renci.SshNet
  7. {
  8. /// <summary>
  9. /// Provides functionality for local port forwarding
  10. /// </summary>
  11. public partial class ForwardedPortLocal
  12. {
  13. partial void ExecuteThread(Action action)
  14. {
  15. ThreadPool.QueueUserWorkItem((o) => { action(); });
  16. }
  17. partial void InternalStart()
  18. {
  19. throw new NotImplementedException();
  20. }
  21. partial void InternalStop()
  22. {
  23. throw new NotImplementedException();
  24. }
  25. }
  26. }