Difference between revisions of "Unit Protocol"

From Ultibo.org
Jump to: navigation, search
Line 264: Line 264:
 
|}
 
|}
 
</div></div>
 
</div></div>
 +
 +
'''Protocol callback'''
 +
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| <code>TProtocolCallback = function(AProtocol:TNetworkProtocol):Boolean of object;</code>
 +
| style="width: 40%;"|
 +
|-
 +
|}
 +
 +
'''Filter callback'''
 +
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| <code>TFilterCallback = function(AFilter:TNetworkFilter):Boolean of object;</code>
 +
| style="width: 40%;"|
 +
|-
 +
|}
 +
 +
'''Configuration callback'''
 +
 +
{| class="wikitable" style="font-size: 14px; text-align: left; width: 100%; height: 50px;"
 +
|-
 +
| <code>TConfigCallback = function(AConfig:TNetworkConfig):Boolean of object; </code>
 +
| style="width: 40%;"|
 +
|-
 +
|}
 
<br />
 
<br />
  

Revision as of 04:44, 7 March 2017

Return to Unit Reference


Description


Ultibo Network Protocol interface unit

To be documented

Constants



[Expand]
Protocol specific constants PROTOCOL_*


[Expand]
Protocol timer constants SOCKET_TIMER_*


[Expand]
ICMP header type constants ICMP_*


[Expand]
ICMP header code constants ICMP_UNREACH_*


[Expand]
IGMP header type constants IGMP_*


Type definitions



Protocol statistics

[Expand]

PProtocolStatistics = ^TProtocolStatistics;

TProtocolStatistics = record

Socket timer item

[Expand]

PSocketTimerItem = ^TSocketTimerItem;

TSocketTimerItem = record

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


To be documented

Public variables


None defined

Function declarations



Initialization functions

[Expand]
procedure ProtocolInit;
Description: To be documented


[Expand]
function ProtocolStart:LongWord;
Description: To be documented


[Expand]
function ProtocolStop:LongWord;
Description: To be documented


Protocol helper functions

[Expand]
procedure ProtocolCheckTimer(Data:Pointer);
Description: To be documented


Return to Unit Reference