Difference between revisions of "Unit ShellNetwork"
From Ultibo.org
(4 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
---- | ---- | ||
− | '' | + | |
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Shell network command constants''' <code> SHELL_NET_COMMAND_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SHELL_NET_COMMAND_NET = 'NET';</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>SHELL_NET_COMMAND_PING = 'PING';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_NET_COMMAND_IPCONFIG = 'IPCONFIG';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_NET_COMMAND_IFCONFIG = 'IFCONFIG';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_NET_COMMAND_IFUP = 'IFUP';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_NET_COMMAND_IFDOWN = 'IFDOWN';</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Shell network action constants''' <code> SHELL_NET_ACTION_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SHELL_NET_ACTION_LIST = 'LIST';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_NET_ACTION_SHOW = 'SHOW';</code> | ||
+ | | | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_NET_ACTION_START= 'START';</code> | ||
+ | | Adapter only | ||
+ | |- | ||
+ | | <code>SHELL_NET_ACTION_STOP = 'STOP';</code> | ||
+ | | Adapter only | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_NET_ACTION_ADD = 'ADD';</code> | ||
+ | | ARP/IP/ROUTE only | ||
+ | |- | ||
+ | | <code>SHELL_NET_ACTION_DELETE = 'DELETE';</code> | ||
+ | | ARP/IP/ROUTE only | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_NET_ACTION_FLUSH = 'FLUSH';</code> | ||
+ | | ARP only | ||
+ | |- | ||
+ | | <code>SHELL_NET_ACTION_SEND = 'SEND';</code> | ||
+ | | ARP only | ||
+ | |- | ||
+ | |colspan="2"| | ||
+ | |- | ||
+ | | <code>SHELL_NET_ACTION_RELEASE = 'RELEASE';</code> | ||
+ | | IP only | ||
+ | |- | ||
+ | | <code>SHELL_NET_ACTION_RENEW = 'RENEW';</code> | ||
+ | | IP only | ||
+ | |- | ||
+ | | <code>SHELL_NET_ACTION_CONFIG = 'CONFIG';</code> | ||
+ | | IP only | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Shell network item constants''' <code> SHELL_NET_ITEM_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SHELL_NET_ITEM_ALL = 'ALL';</code> | ||
+ | | style="width: 50%;"| | ||
+ | |- | ||
+ | | <code>SHELL_NET_ITEM_ARP = 'ARP';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_NET_ITEM_IP = 'IP';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_NET_ITEM_ROUTE = 'ROUTE';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_NET_ITEM_ADAPTER = 'ADAPTER';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_NET_ITEM_TRANSPORT = 'TRANSPORT';</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SHELL_NET_ITEM_PROTOCOL = 'PROTOCOL';</code> | ||
+ | | | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
=== Type definitions === | === Type definitions === | ||
---- | ---- | ||
− | '' | + | ''None defined'' |
+ | |||
+ | === Class definitions === | ||
+ | ---- | ||
+ | |||
+ | |||
+ | '''Shell Ping classes''' | ||
+ | |||
+ | {| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;" | ||
+ | |- | ||
+ | | [[TShellPing|<code>TShellPing = class(TShellCommand)</code>]] | ||
+ | |- | ||
+ | |} | ||
+ | <br /> | ||
=== Public variables === | === Public variables === | ||
Line 25: | Line 142: | ||
---- | ---- | ||
− | |||
+ | '''Initialization functions''' | ||
+ | |||
+ | <div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 0px; padding-bottom: 15px;"> | ||
+ | <pre style="border: 0; padding-bottom:0px;">procedure ShellNetworkInit;</pre> | ||
+ | <div style="font-size: 14px; padding-left: 12px;">'''Description:''' To be documented</div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | ! Note | ||
+ | | None documented | ||
+ | |- | ||
+ | |} | ||
+ | </div></div> | ||
+ | <br /> | ||
Return to [[Unit_Reference|Unit Reference]] | Return to [[Unit_Reference|Unit Reference]] |
Latest revision as of 05:55, 2 November 2022
Return to Unit Reference
Contents
Description
Ultibo Network Shell Extension unit
Constants
Shell network command constants
SHELL_NET_COMMAND_*
SHELL_NET_COMMAND_NET = 'NET';
|
|
SHELL_NET_COMMAND_PING = 'PING';
|
|
SHELL_NET_COMMAND_IPCONFIG = 'IPCONFIG';
|
|
SHELL_NET_COMMAND_IFCONFIG = 'IFCONFIG';
|
|
SHELL_NET_COMMAND_IFUP = 'IFUP';
|
|
SHELL_NET_COMMAND_IFDOWN = 'IFDOWN';
|
Shell network action constants
SHELL_NET_ACTION_*
SHELL_NET_ACTION_LIST = 'LIST';
|
|
SHELL_NET_ACTION_SHOW = 'SHOW';
|
|
SHELL_NET_ACTION_START= 'START';
|
Adapter only |
SHELL_NET_ACTION_STOP = 'STOP';
|
Adapter only |
SHELL_NET_ACTION_ADD = 'ADD';
|
ARP/IP/ROUTE only |
SHELL_NET_ACTION_DELETE = 'DELETE';
|
ARP/IP/ROUTE only |
SHELL_NET_ACTION_FLUSH = 'FLUSH';
|
ARP only |
SHELL_NET_ACTION_SEND = 'SEND';
|
ARP only |
SHELL_NET_ACTION_RELEASE = 'RELEASE';
|
IP only |
SHELL_NET_ACTION_RENEW = 'RENEW';
|
IP only |
SHELL_NET_ACTION_CONFIG = 'CONFIG';
|
IP only |
Shell network item constants
SHELL_NET_ITEM_*
SHELL_NET_ITEM_ALL = 'ALL';
|
|
SHELL_NET_ITEM_ARP = 'ARP';
|
|
SHELL_NET_ITEM_IP = 'IP';
|
|
SHELL_NET_ITEM_ROUTE = 'ROUTE';
|
|
SHELL_NET_ITEM_ADAPTER = 'ADAPTER';
|
|
SHELL_NET_ITEM_TRANSPORT = 'TRANSPORT';
|
|
SHELL_NET_ITEM_PROTOCOL = 'PROTOCOL';
|
Type definitions
None defined
Class definitions
Shell Ping classes
TShellPing = class(TShellCommand)
|
Public variables
None defined
Function declarations
Initialization functions
procedure ShellNetworkInit;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference