TLoopbackAdapter
From Ultibo.org
Revision as of 05:23, 22 May 2018 by Ultibo (Talk | contribs) (Created page with "Return to Unit Loopback __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-...")
Return to Unit Loopback
Description
To be documented
Class definitions
TLoopbackAdapter = class(TNetworkAdapter)
constructor Create(AManager:TAdapterManager; ADevice:PNetworkDevice; const AName:String);
|
|
private
| |
FHardwareAddress:THardwareAddress;
|
|
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 GetHardwareAddress(AHandle:THandle):THardwareAddress; override;
|
|
function StartAdapter:Boolean; override;
|
|
function StopAdapter:Boolean; override;
|
|
function ProcessAdapter:Boolean; override;
|
Function declarations
constructor TLoopbackAdapter.Create(AManager:TAdapterManager; ADevice:PNetworkDevice; const AName:String);
Description: To be documented
Note | None documented |
---|
function TLoopbackAdapter.AddTransport(APacketType,AFrameType:Word; const APacketName:String; APacketHandler:TAdapterPacketHandler):THandle;
Description: To be documented
Note | None documented |
---|
function TLoopbackAdapter.RemoveTransport(AHandle:THandle; APacketType:Word):Boolean;
Description: To be documented
Note | None documented |
---|
function TLoopbackAdapter.GetMTU(AHandle:THandle):Word;
Description: To be documented
Note | None documented |
---|
function TLoopbackAdapter.SendPacket(AHandle:THandle; ADest:Pointer; APacket:PPacketFragment; ASize:Integer):Boolean;
Description: Write the Packet to the Transport Buffer
Note | None documented |
---|
function TLoopbackAdapter.GetHardwareAddress(AHandle:THandle):THardwareAddress;
Description: To be documented
Note | None documented |
---|
function TLoopbackAdapter.StartAdapter:Boolean;
Description: To be documented
Note | None documented |
---|
function TLoopbackAdapter.StopAdapter:Boolean;
Description: To be documented
Note | None documented |
---|
function TLoopbackAdapter.ProcessAdapter:Boolean;
Description: Read the Packets from the Transport Buffer and send to Handler
Note | None documented |
---|
Return to Unit Reference