[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

 

LMacTCPDNSOperation



Overview:

LMacTCPDNSOperation is a PowerPlant class that is used for managing thread blocking for MacTCP DNS interface calls.

Methods :

The methods in this class are:

 

LMacTCPDNSOperation()  
~LMacTCPDNSOperation()  
GetResultProc()  
Int_DNSCompletionProc()  
Int_DNSCompletionProc2()  
WaitForCompletion()  

Data Members:

The data members in this class are:

 

mOperationListMem  
sMacTCPDNSCompletionProc  
sMacTCPDNSPendingOperations;  
sDNSOperationDeleteQueue  

Source files:

(Networking Classes)

UMacTCPSupport.h

UMacTCPSupport.cp

See also:

LGlobalsContext

LInterruptSafeListMember

StAsyncOperation

LMacTCPDNSOperation()

Purpose:

The constructor creates the object.

Access :

Public

Prototype:

LMacTCPDNSOperation();
Parameters:

None

~LMacTCPDNSOperation()

Purpose:

The destructor destroys the object.

Access :

Public

Prototype:

~LMacTCPDNSOperation();

GetResultProc()

Purpose:

Return the value of sMacTCPDNSCompletionProc.

Access :

Inline, Public

Prototype:

inline ResultUPP GetResultProc();
Parameters:

None

Return:

The value of sMacTCPDNSCompletionProc.

Int_DNSCompletionProc()

Purpose:

The completion routine.

Access :

Static, Protected

Prototype:

pascal void Int_DNSCompletionProc(

	hostInfo* inHostInfoPtr, 
   Ptr inUserDataPtr
  );
Parameters:

This method has the following parameters:

 

hostInfo*  
inHostInfoPtr  
The pointer to the host info.  
Ptr  
inUserDataPtr  
The user data pointer.  

Return:

None

Int_DNSCompletionProc2()

Purpose:

The DNS completion procedure.

Access :

Static, Protected

Prototype:

pascal void Int_DNSCompletionProc2( 

	returnRec*	inReturnRecPtr, 
   Ptr inUserDataPtr );
Parameters:

This method has the following parameters:

 

returnRec*  
inReturnRecPtr  
The pointer to the return record.  
Ptr  
inUserDataPtr  
The user data pointer.  

Return:

None

WaitForCompletion()

Purpose:

Wait for the completion routine to execute.

Access :

Public

Prototype:

void WaitForCompletion();
Parameters:

None

Return:

None

mOperationListMem

Purpose:

The operation list.

Access :

Private

Prototype:

LOperationListMember * mOperationListMem;

sMacTCPDNSCompletionProc

Purpose:

The DNS completion routine pointer.

Access :

Static, Private

Prototype:

static ResultUPP sMacTCPDNSCompletionProc;

sMacTCPDNSPendingOperations;

Purpose:

The MacTCP DNS pending operation.

Access :

Static, Private

Prototype:

static UInt16 sMacTCPDNSPendingOperations;

sDNSOperationDeleteQueue

Purpose:

The DNS operation deletion queue.

Access :

Static, Private

Prototype:

LDNSOperationDeleteQueue * 	
sDNSOperationDeleteQueue;

 


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: July 21, 2000