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

 

UOpenTptSupport



Overview:

UOpenTptSupport is a PowerPlant class that is used for helping other Open Transport classes.

Methods :

The methods in this class are:

 

GetOTGestalt()  
HasOpenTransport()  
HasOpenTransportTCP()  
OTAddressToPPAddress()  
StartOpenTransport()  
 

Data Members:

The data members in this class are:

 

sOTGestaltTested  
sCloseOpenTptTask  
sOTGestaltResult  
 

Source files:

(Networking Classes)

UOpenTptSupport.h

UOpenTptSupport.cp

GetOTGestalt()

Purpose:

This method is internal only, and is used to perform Open Transport-specific gestalt activity.

Access :

Static, Private

Prototype:

static void GetOTGestalt();
Parameters:

None

Return:

None

HasOpenTransport()

Purpose:

This method determines whether the machine has Open Transport installed.

Access :

Static, Public

Prototype:

static Boolean HasOpenTransport();
Parameters:

None

Return:

Returns true if Open Transport is installed on the machine.

HasOpenTransportTCP()

Purpose:

Checks for certain Open Transport gestalt parameters.

Access :

Static, Public

Prototype:

static Boolean HasOpenTransportTCP();
Parameters:

None

Return:

Returns true if certain gestalt parameters for Open Transport are set.

OTAddressToPPAddress()

Purpose:

Convert an Open Transport address to PowerPlant LInternetAddress.

Access :

Static, Public

Prototype:

static LInternetAddress* OTAddressToPPAddress(

	OTAddress* inAddress );
Parameters:

This method has the following parameter:

 

OTAddress*  
inAddress  
The address to convert.  

Return:

An LInternetAddress.

StartOpenTransport()

Purpose:

Initialize OpenTransport.

Access :

Static, Public

Prototype:

static void StartOpenTransport();
Parameters:

None

Return:

None

sOTGestaltTested

Purpose:

Whether gestalt has been queried.

Access :

Static, Private

Prototype:

Boolean sOTGestaltTested;

sCloseOpenTptTask

Purpose:

Whether to close the Open Transport task or not.

Access :

Static, Private

Prototype:

LOpenTpt_CloseOpenTpt* sCloseOpenTptTask;

sOTGestaltResult

Purpose:

The result of querying Gestalt().

Access :

Static, Private

Prototype:

Int32 sOTGestaltResult;

 


[ 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