Difference between revisions of "TWiredAdapter"
From Ultibo.org
(Created page with "Return to Unit Network __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-co...") |
(No difference)
|
Revision as of 07:16, 22 May 2018
Return to Unit Network
Description
To be documented
Class definitions
TWiredAdapter = class(TNetworkAdapter)
constructor Create(AManager:TAdapterManager; ADevice:PNetworkDevice; const AName:String);
|
|
private
| |
FDefaultAddress:THardwareAddress;
|
|
FHardwareAddress:THardwareAddress;
|
|
FBroadcastAddress:THardwareAddress;
|
|
FMulticastAddresses:TMulticastAddresses;
|
|
function ProcessPacket(ABuffer:Pointer; ASize:Integer):Boolean;
|
|
protected
| |
procedure SetStatus(AStatus:Integer); override;
|
|
public
| |
function AddTransport(APacketType,AFrameType:Word; const APacketName:String; APacketHandler:TAdapterPacketHandler):THandle; override;
|
|
function RemoveTransport(AHandle:THandle; APacketType:Word):Boolean; override;
|
|
function GetMTU(AHandle:THandle):Word; override;
|
|
function SendPacket(AHandle:THandle; ADest:Pointer; APacket:PPacketFragment; ASize:Integer):Boolean; override;
|
|
function ClearStatistics(AHandle:THandle):Boolean; override;
|
|
function GetStatistics(AHandle:THandle):TAdapterStatistics; override;
|
|
function GetDefaultAddress(AHandle:THandle):THardwareAddress; override;
|
|
function GetHardwareAddress(AHandle:THandle):THardwareAddress; override;
|
|
function SetHardwareAddress(AHandle:THandle; const AAddress:THardwareAddress):Boolean; override;
|
|
function GetBroadcastAddress(AHandle:THandle):THardwareAddress; override;
|
|
function GetMulticastAddresses(AHandle:THandle):TMulticastAddresses; override;
|
|
function AddMulticastAddress(AHandle:THandle; const AAddress:THardwareAddress):Boolean; override;
|
|
function RemoveMulticastAddress(AHandle:THandle; const AAddress:THardwareAddress):Boolean; override;
|
|
function StartAdapter:Boolean; override;
|
|
function StopAdapter:Boolean; override;
|
|
function ProcessAdapter:Boolean; override;
|
Function declarations
constructor TWiredAdapter.Create(AManager:TAdapterManager; ADevice:PNetworkDevice; const AName:String);
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.ProcessPacket(ABuffer:Pointer; ASize:Integer):Boolean;
Description: To be documented
Note | None documented |
---|
procedure TWiredAdapter.SetStatus(AStatus:Integer);
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.AddTransport(APacketType,AFrameType:Word; const APacketName:String; APacketHandler:TAdapterPacketHandler):THandle;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.RemoveTransport(AHandle:THandle; APacketType:Word):Boolean;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.GetMTU(AHandle:THandle):Word;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.SendPacket(AHandle:THandle; ADest:Pointer; APacket:PPacketFragment; ASize:Integer):Boolean;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.ClearStatistics(AHandle:THandle):Boolean;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.GetStatistics(AHandle:THandle):TAdapterStatistics;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.GetDefaultAddress(AHandle:THandle):THardwareAddress;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.GetHardwareAddress(AHandle:THandle):THardwareAddress;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.SetHardwareAddress(AHandle:THandle; const AAddress:THardwareAddress):Boolean;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.GetBroadcastAddress(AHandle:THandle):THardwareAddress;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.GetMulticastAddresses(AHandle:THandle):TMulticastAddresses;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.AddMulticastAddress(AHandle:THandle; const AAddress:THardwareAddress):Boolean;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.RemoveMulticastAddress(AHandle:THandle; const AAddress:THardwareAddress):Boolean;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.StartAdapter:Boolean;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.StopAdapter:Boolean;
Description: To be documented
Note | None documented |
---|
function TWiredAdapter.ProcessAdapter:Boolean;
Description: To be documented
Note | None documented |
---|
Return to Unit Reference