System.Tether.Manager.TTetheringAdapter Methods

From Appmethod Libraries
Jump to: navigation, search


InheritedProtected
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.
CheckDisposedprotected
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 TTetheringAdapter.
CreateInstanceprotectedCreates an instance of TTetheringAdapter and returns it.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DestroypublicDestroys this instance of TTetheringAdapter.
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DisposeOfpublicDisposeOf 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 separate communications thread
DoDiscoverManagersprotectedVirtual abstract method to be implemented in child classes to start the discovery of remote managers
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 the AdapterType property.
GetAutomaticTimeoutprotectedReturns the timeout period to discover remote managers
GetClientPeerpublicReturns an object that a protocol of the specified protocol type can use for connections as a client.
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.
GetTargetConnectionpublicReturns the target to connect.
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.
IsListeningpublic
LogprotectedLogs the specified message using the logger registered in your manager.
MaxConnectionspublicReturns the maximum number of connections to a manager
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 event handler handle calls to Log.
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.
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.