JANUS DRAIN: Difference between revisions
m (1 revision) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:JANUS DRAIN}} | {{DISPLAYTITLE:JANUS DRAIN}} | ||
<span class="pageSubtitle"><section begin="desc" /> | <span class="pageSubtitle"><section begin="desc" />Drain a Janus port<section end="desc" /></span> | ||
This prevents new connections from being initiated on the named port(s), and has no effect on active connections. | |||
==Syntax== | ==Syntax== | ||
<p class="syntax"><section begin="syntax" /> JANUS DRAIN portname | <p class="syntax"><section begin="syntax" /> JANUS DRAIN portname | ||
Line 11: | Line 10: | ||
</p> | </p> | ||
Where '''portname''' is the name of the port(s) to drain. Once a DRAIN is executed against a port, no users may access it until it is started again via the JANUS START command. Current connections are not affected by the DRAIN subcommand. The DRAIN subcommand returns immediately, but activity on the port does not end until all current connections are closed. | |||
<p class="code"> JANUS DRAIN HOMER?? | <p class="code"> JANUS DRAIN HOMER?? | ||
</p> | </p> | ||
In the above example, all ports with 7-character names beginning with HOMER are placed in a drain state. | In the above example, all ports with 7-character names beginning with HOMER are placed in a drain state. | ||
See: [[List_of_Janus_commands|Janus command list]] | |||
[[Category:Janus commands|JANUS DRAIN]] | [[Category:Janus commands|JANUS DRAIN]] | ||
[[Category:Sirius commands]] | [[Category:Sirius commands|JANUS DRAIN]] |
Revision as of 21:42, 28 February 2011
<section begin="desc" />Drain a Janus port<section end="desc" />
This prevents new connections from being initiated on the named port(s), and has no effect on active connections.
Syntax
<section begin="syntax" /> JANUS DRAIN portname <section end="syntax" />
Where portname is the name of the port(s) to drain. Once a DRAIN is executed against a port, no users may access it until it is started again via the JANUS START command. Current connections are not affected by the DRAIN subcommand. The DRAIN subcommand returns immediately, but activity on the port does not end until all current connections are closed.
JANUS DRAIN HOMER??
In the above example, all ports with 7-character names beginning with HOMER are placed in a drain state.
See: Janus command list