System.Tether.NetworkAdapter.TTetheringNetworkAdapterCommon Methods

From RAD Studio API Documentation
Jump to: navigation, search


InheritedProtected
AddLogItempublicEnables the specified log item for logging information.
AddManagerInfoprotectedAdds a TTetheringManagerInfo entry with the specified data to the internal list of remote managers.
AfterConstructionpublicResponds after the last constructor has executed.
AutoConnectEndManagersTimerprotectedRegisters discovered remote managers after the maximum time for automatic connection to remote managers passes.
BeforeDestructionpublicResponds before the first destructor executes.
CancelManagersDiscoverypublicCancels a manager discovery operation started by either StartManagersAutoConnect or StartManagersDiscovery.
CancelProfilesDiscoverypublicCancels a profile discovery operation started by StartProfilesDiscovery.
CheckDisposedprotectedThis method is deprecated.
CheckPasswordprotectedReturns True if the specified hash matches a hash of the concatenation of the password of the adapter manager and the specified seed.
CheckTokenprotectedReturns True if the specified hash matches a hash of the concatenation of the hash from the last connection to the remote manager and the specified seed.
ClassInfopublicReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNamepublicReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIspublicDetermines whether an object is of a specific type.
ClassParentpublicReturns the type of the immediate ancestor of a class.
ClassTypepublicReturns the class reference for the object's class.
CleanupInstancepublicPerforms finalization on long strings, variants, and interface variables within a class.
CreatepublicCreates an instance of this network adapter class that uses the specified IP version.
CreateInstanceprotectedCreates an instance of this adapter class and returns it.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DestroypublicDestroys this network adapter object.
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOf (deprecated)publicDisposeOf forces the execution of the destructor code in an object.
DoAuthErrorFromLocalprotectedDispatcher of the OnAuthErrorFromLocal event of the manager of the adapter.
DoAuthErrorFromRemoteprotectedDispatcher for the OnAuthErrorFromRemote event of the manager of the adapter.
DoCreateCommunicationThreadprotectedCreates and configures a communication thread to handle the communications of this adapter asynchronously.
DoDiscoverManagersprotectedStarts the discovery of remote managers for connection to the manager of this network adapter.
DoLaunchNotificationprotectedHandles a notification received from a remote adapter, and passes this notification to the manager of your adapter.
DoNewManagerprotectedDispatcher of the OnNewManager event of the manager of the adapter.
DoPairedFromLocalprotectedDispatcher of the OnPairedFromLocal event of the manager of the adapter, also responsible for starting the discovery of remote profiles provided by the paired remote manager.
DoPairedToRemoteprotectedDispatcher of the OnPairedToRemote event of the manager of the adapter, also responsible for starting the discovery of remote profiles provided by the paired remote manager.
DoRemoteManagerShutdownprotectedDispatcher of the OnRemoteManagerShutdown event of the manager of the adapter, also responsible for disconnecting the profiles of your manager from the remote profiles of the remote manager that announced its shutdown.
DoRequestManagerPasswordprotectedDispatcher of the OnRequestManagerPassword event of the manager of the adapter, responsible for providing the password required to pair with a remote manager.
DoStopListeningprotectedStops listening to other adapters, and notifies any adapter in range that your adapter is not listening any more.
DoUnPairManagerprotectedDispatcher of the OnUnPairManager event of the manager of your adapter, responsible for disconnecting and unpairing from a remote manager.
EndManagersTimerprotectedRegisters discovered remote managers after the maximum time for discovery of remote managers passes.
EndProfilesTimerProcprotectedEvent handler called when the operation to discover remote profiles published by a remote manager finishes, either successfully or due to a time out.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
FieldAddresspublicReturns the address of a published object field.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
GenerateTimerprotectedCreates a timer that, once started, calls the specified event handler when the specified time in milliseconds passes unless you stop the timer manually.
GenerateTokenprotectedReturns an SHA-1 token based on the specified manager identifier and random seed.
GetAdapterTypeprotectedGetter of AdapterType.
GetAutomaticTimeoutprotectedReturns the default timeout period to discover managers
GetClientPeerpublicReturns an object that a protocol of the specified protocol type can use for connections as a client over IP network communication.
GetDisposedprotectedGetter for the Disposed property.
GetHashprotectedReturns an SHA-1 hash of the specified string.
GetHashCodepublicReturns an integer containing the hash code.
GetInterfacepublicRetrieves a specified interface.
GetInterfaceEntrypublicReturns the entry for a specific interface implemented in a class.
GetInterfaceTablepublicReturns a pointer to a structure containing all of the interfaces implemented by a given class.
GetRandomStringprotectedReturns a random string with the specified number of characters (10 by default).
GetServerPeerpublicReturns an object that a protocol of the specified protocol type can use for connections as a server over IP network communication.
GetTargetConnectionpublicReturns the TCP port number to connect to as a client
InheritsFrompublicDetermines the relationship of two object types.
InitInstancepublicInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
IsIPprotectedReturns True if the specified string is an IP address that this network adapter supports, or False otherwise.
IsIPRangeprotectedReturns True if the specified IP address represents a range of IP addresses that this network adapter supports or False otherwise.
IsListeningpublicReturns true if the communication thread of this adapter is initalized and listening.
IsLoggingItempublicIndicates whether the specified log item is enabled for logging information (True) or not (False).
LogprotectedLogs the specified message using the registered log handling method in your manager.
MaxConnectionspublicReturns the maximum number of TCP connections to this network adapter.
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
NotifyShutdownpublicNotifies the shutdown of the manager of your adapter to any remote manager paired with the manager of your adapter, including the manager of your adapter.
PairManagerpublicRequests pairing with the specified remote manager.
ProfilesInfoprotectedInformation about the profiles registered in the manager of your adapter as a string.
QualifiedClassNamepublicReturns the qualified name of the class.
RegisterLogpublicMakes the specified method handle calls to Log.
RemoveLogItempublicEnables the specified log item for logging information.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SaveTokenFromLocalprotectedSaves the specified remote manager identifier and hash to the list of known remote managers of the manager of your adapter.
SaveTokenFromRemoteprotectedSaves the specified remote manager identifier and hash to the list of known remote managers of the manager of your adapter.
SendManagerCommandToRangeprotectedSends a manager discovery command to the specified range of IP addresses.
SendNotificationpublicSends the specified notification to the remote manager.
SetLocalConnectionStringprotectedDefines the connection string that other adapters of the same type as your adapter may use to connect to your adapter.
StartListeningpublicStarts listening for other adapters of the same type and notifies any adapter in range.
StartManagersAutoConnectprotectedCalls DoDiscoverManagers to start the discovery of remote managers for automatic connection to the Manager of the adapter
StartManagersDiscoverypublicCalls DoDiscoverManagers to start the discovery of remote managers for connection to the Manager of the adapter.
StartProfilesDiscoverypublicStarts the discovery of remote profiles provided by the specified remote manager, with the specified maximum time.
StopListeningpublicStops listening to other adapters, and notifies any adapter in range.
ToStringpublicReturns a string containing the class name.
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
UnPairManagerpublicLets the specified remote manager know that the manager of your adapter is no longer paired to that remote manager.