Difference between revisions of "Unit Protocol"
Line 28: | Line 28: | ||
<br /> | <br /> | ||
<div class="toccolours mw-collapsible mw-collapsed" style="border: 1; font-family: arial; padding-top: 20px; padding-bottom: 15px;"> | <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;">'''Protocol timer''' <code> | + | <div style="font-size: 14px; padding-left: 12px;">'''Protocol timer key values''' <code> SOCKET_TIMER_KEY_* </code></div> |
<div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
{| class="wikitable" style="font-size: 14px; background: white;" | {| class="wikitable" style="font-size: 14px; background: white;" | ||
Line 40: | Line 40: | ||
| <code>SOCKET_TIMER_KEY_MIN = TIMER_KEY_MIN;</code> | | <code>SOCKET_TIMER_KEY_MIN = TIMER_KEY_MIN;</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;">'''Protocol timer flag values''' <code> SOCKET_TIMER_FLAG_* </code></div> | ||
+ | <div class="mw-collapsible-content" style="text-align: left; padding-left: 5px;"> | ||
+ | {| class="wikitable" style="font-size: 14px; background: white;" | ||
+ | |- | ||
+ | | <code>SOCKET_TIMER_FLAG_NONE = $00000000;</code> | ||
+ | | | ||
+ | |- | ||
+ | | <code>SOCKET_TIMER_FLAG_ACTIVE = $00000001;</code> | ||
+ | | The socket timer item is active in a timer | ||
+ | |- | ||
+ | | <code>SOCKET_TIMER_FLAG_DYNAMIC = $00000002;</code> | ||
+ | | The socket timer item was allocated dynamically | ||
|- | |- | ||
|} | |} |
Revision as of 01:21, 21 April 2017
Return to Unit Reference
Contents
[hide]Description
Ultibo Network Protocol interface unit
To be documented
Constants
PROTOCOL_*
SOCKET_TIMER_KEY_*
SOCKET_TIMER_FLAG_*
ICMP_*
ICMP_UNREACH_*
IGMP_*
Type definitions
Protocol statistics
Socket timer item
Protocol callback
TProtocolCallback = function(AProtocol:TNetworkProtocol):Boolean of object;
|
Filter callback
TFilterCallback = function(AFilter:TNetworkFilter):Boolean of object;
|
Configuration callback
TConfigCallback = function(AConfig:TNetworkConfig):Boolean of object;
|
Class definitions
Protocol manager
TProtocolManager = class(TObject)
Protocol transport
TProtocolTransport = class(TListObject)
Network protocol
TNetworkProtocol = class(TListObject)
Socket timer
TSocketTimer = class(TObject)
Socket thread
TSocketThread = class(TThread)
Protocol port
TProtocolPort = class(TListObject)
Protocol socket
TProtocolSocket = class(TTransportSocket)
Protocol state
TProtocolState = class(TObject)
Protocol options
TProtocolOptions = class(TObject)
Filter transport
TFilterTransport = class(TListObject)
Network filter
TNetworkFilter = class(TListObject)
Configuration transport
TConfigTransport = class(TListObject)
Network configuration
TNetworkConfig = class(TListObject)
Network client
TNetworkClient = class(TListObject)
Public variables
None defined
Function declarations
Initialization functions
Protocol helper functions
Return to Unit Reference