Difference between revisions of "TProtocolSocket"

From Ultibo.org
Jump to: navigation, search
(Created page with "Return to Unit Protocol __TOC__ === Description === ---- ''To be documented'' === Class definitions === ---- <div class="toccolours mw-collapsible mw-...")
 
(No difference)

Latest revision as of 04:51, 25 May 2018

Return to Unit Protocol


Description


To be documented

Class definitions



TProtocolSocket = class(TTransportSocket)

constructor Create(AProtocol:TNetworkProtocol; ATransport:TNetworkTransport);  
destructor Destroy; override;  
private
FSocketChange:TEventHandle;  
protected
FProtocol:TNetworkProtocol;  
 
FProtocolState:TProtocolState;  
FProtocolOptions:TProtocolOptions;  
 
function CheckSocket(ASocket:TProtocolSocket; ALock:Boolean; AState:LongWord):Boolean;  
public
property ProtocolState:TProtocolState read FProtocolState;  
property ProtocolOptions:TProtocolOptions read FProtocolOptions;  
 
property Protocol:TNetworkProtocol read FProtocol;  
 
function WaitChange:Boolean;  
function WaitChangeEx(ATimeout:LongWord):Boolean;  
function SignalChange:Boolean;  
 
function SendSocket:Boolean; virtual;  
 
function ScheduleSocket(ATimeout:LongWord):Boolean; virtual;  
function UnscheduleSocket:Boolean; virtual;  
 
function ScheduleSocketItem(AItem:PSocketTimerItem; ATimeout:LongWord):Boolean; virtual;  
function UnscheduleSocketItem(AItem:PSocketTimerItem):Boolean; virtual;  


Function declarations



constructor TProtocolSocket.Create(AProtocol:TNetworkProtocol; ATransport:TNetworkTransport);
Description: To be documented
Note None documented


destructor TProtocolSocket.Destroy;
Description: To be documented
Note None documented


function TProtocolSocket.CheckSocket(ASocket:TProtocolSocket; ALock:Boolean; AState:LongWord):Boolean;
Description: To be documented
Note None documented


function TProtocolSocket.WaitChange:Boolean;
Description: To be documented
Note None documented


function TProtocolSocket.WaitChangeEx(ATimeout:LongWord):Boolean;
Description: To be documented
Note None documented


function TProtocolSocket.SignalChange:Boolean;
Description: To be documented
Note None documented


function TProtocolSocket.SendSocket:Boolean;
Description: To be documented
Note None documented


function TProtocolSocket.ScheduleSocket(ATimeout:LongWord):Boolean;
Description: To be documented
Note None documented


function TProtocolSocket.UnscheduleSocket:Boolean;
Description: To be documented
Note None documented


function TProtocolSocket.ScheduleSocketItem(AItem:PSocketTimerItem; ATimeout:LongWord):Boolean;
Description: To be documented
Note None documented


function TProtocolSocket.UnscheduleSocketItem(AItem:PSocketTimerItem):Boolean;
Description: To be documented
Note None documented


Return to Unit Reference