Back to product page

Pause method


Pauses wodSSHServer so it doesn't accept new connections.

Type

None

Syntax

  • Basic
object.Pause 
The Pause(object) syntax has these parts:
objectAn expression evaluating to an object of type wodSSHD.

Remarks

Pause method will temporarily stop accepting new connection, but will keep wodSSHServer "alive". All currently connected users will remain connected - component will not disconnect users unless they leave server by themselves.

You can call Start method again to resume it's operation and starts accept new clients, or call Stop method to completely stop the server.

When server is paused, it will not respond to incoming connections at all, it will not even listen on specified Port. It is possible to run another server (or another instance of wodSSHServer) at that time using same port.

Platforms

Windows