System.Tether.BluetoothAdapter.TTetheringBluetoothManagerCommunicationThread Methods
InheritedProtected
| AddProfiles | protected | Handles a string with data about remote profiles sent by a remote adapter in response to a profiles discovery request by the adapter of your communication thread. |
| AfterConstruction | public | Executes the thread when the thread is created with CreateSuspended set to false. |
| BeforeDestruction | public | |
| CancelDiscoverProfilesTimer | protected | Stops the timer created at the beginning of the profile discovery. |
| CheckDisposed | protected | This method is deprecated. |
| CheckTerminated | public | Indicates whether the thread has been asked to terminate. |
| CheckThreadError | protected | Checks whether an error appears on a thread operation. |
| ClassInfo | public | Returns a pointer to the run-time type information (RTTI) table for the object type. |
| ClassName | public | Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). |
| ClassNameIs | public | Determines whether an object is of a specific type. |
| ClassParent | public | Returns the type of the immediate ancestor of a class. |
| ClassType | public | Returns the class reference for the object's class. |
| CleanupInstance | public | Performs finalization on long strings, variants, and interface variables within a class. |
| CommandStr | public | Returns a string with the formatted command that is sent to the remote manager. |
| CommunicationThreadInitialized | protected | Sets the FEventAdapterSync of the adapter that owns this communications thread. |
| Create | public | Creates an instance of TTetheringBluetoothManagerCommunicationThread. |
| CreateAnonymousThread | public | Creates an instance of an internally derived thread. |
| CreateDiscoverProfilesTimer | protected | Creates an internal timer with the specified timeout. |
| CreateManagerInfo | protected | Records the received information about a remote manager. |
| DefaultHandler | public | Provides the interface for a method that processes message records. |
| Destroy | public | Destroys this instance of TTetheringBluetoothManagerCommunicationThread. |
| DestroyDiscoverProfilesTimer | protected | Stops the internal timer created for discovery profiles in a remote manager. |
| Dispatch | public | Calls message-handling methods for the object, based on the contents of the Message parameter. |
| DisposeOf | public | DisposeOf forces the execution of the destructor code in an object. |
| DoSendCommand | protected | Sends a response to the remote Bluetooth adapter |
| DoTerminate | protected | Generates an OnTerminate event. |
| Equals | public | Checks whether the current instance and the Obj parameter are equal. |
| Execute | public | Initializes the Bluetooth tethering communications thread and starts listening for remote connections |
| FieldAddress | public | Returns the address of a published object field. |
| ForceQueue | public | Queues the execution of a method call within the main thread. |
| Free | public | Destroys an object and frees its associated memory, if necessary. |
| FreeInstance | public | Deallocates memory allocated by a previous call to the NewInstance method. |
| GenerateRandomString | protected | Returns a random string for the given connection of the TTetheringAdapter. |
| GetCPUUsage | public | Calculates the average time that the CPU is busy executing user code and kernel code. |
| GetDisposed | protected | Getter for the Disposed property. |
| GetHashCode | public | Returns an integer containing the hash code. |
| GetInterface | public | Retrieves a specified interface. |
| GetInterfaceEntry | public | Returns the entry for a specific interface implemented in a class. |
| GetInterfaceTable | public | Returns a pointer to a structure containing all of the interfaces implemented by a given class. |
| GetNetworkInfo | protected | Returns the stored data about the status of the connection. |
| GetNetworkInfoByManager | protected | Returns the stored data about the status of the connection with a remote manager. |
| GetRandomString | protected | Getter of the random string of a connection. |
| GetRemoteConnectionString | protected | Returns the remote connection string for a given connection. |
| GetState | protected | Returns the current pairing state with a remote manager |
| GetSystemTimes | public | |
| GetTickCount | public | Returns the number of milliseconds that have elapsed since the system was started. |
| GetTickCount64 | public | |
| InheritsFrom | public | Determines the relationship of two object types. |
| InitializeExternalThreadsList | protected | |
| InitInstance | public | Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. |
| InstanceSize | public | Returns the size in bytes of each instance of the object type. |
| IsDiscoveringProfiles | protected | Checks if the adapter is performing profile discovery. |
| IsListening | protected | Indicates whether the communication thread is listening for connections. |
| IsTimeout | public | Returns True if the specified ATimeout after AStartTime is passed. |
| MethodAddress | public | Returns the address of a class method by name. |
| MethodName | public | Returns the name of a class method by address. |
| NameThreadForDebugging | public | Use NameThreadForDebugging to name a thread that was created without a name. Also, use this method to rename a specified thread. |
| NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
| ProcessResponse | protected | Handles the input from a remote communication thread |
| QualifiedClassName | public | Returns the qualified name of the class. |
| Queue | public | Executes a method call within the main thread. |
| RemoveQueuedEvents | public | Remove queued method calls. |
| Resume (deprecated) | public | Restarts the execution of a suspended thread. Resume was intended to be used by debuggers and is deprecated in RAD Studio XE, in the year 2010. |
| SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
| SendCommand | public | Calls DoSendCommand to send data to a remote adapter. |
| SetFreeOnTerminate | protected | |
| SetManagerId | protected | Sets the remote manager identifier in the TNetworkInfo |
| SetReturnValue | public | Sets the current thread's return value. |
| SetState | protected | Sets the new pairing state with a remote manager |
| ShutdownThread | protected | |
| Sleep | public | Suspend the execution of the thread for a specified amount of time. |
| SpinWait | public | Blocks the execution of the thread in a spin-wait loop. |
| Start | public | Starts the execution of a thread. |
| StaticQueue (deprecated) | public | Asynchronously executes a method call within the main thread. |
| StaticSynchronize (deprecated) | public | Executes a method call within the main thread. |
| Suspend (deprecated) | public | Pauses a running thread. Suspend was intended to be used by debuggers and is deprecated in RAD Studio XE, in the year 2010. |
| Synchronize | public | Executes a method call within the main thread. |
| Terminate | public | Signals the thread to terminate by setting the Terminated property to true. |
| TerminatedSet | protected | |
| ToString | public | Returns a string containing the class name. |
| UnitName | public | Returns the name of the unit where the class is defined. |
| UnitScope | public | Returns the class's unit scope. |
| WaitCommThreadInitialization | protected | Waits for FEventAdapterSync, which is initialized in CommunicationThreadInitialized. |
| WaitFor | public | Waits for the thread to terminate and then returns the value of the ReturnValue property. |
| Yield | public | Passes the execution to another thread. |