System.Tether.AppProfile.TTetheringAppProfile Methods

From Appmethod Libraries
Jump to: navigation, search


InheritedProtected
_AddRefprotectedCalled when an application uses a component interface.
_ReleaseprotectedCalled when an application releases a component interface.
AddConnectedProfileprotectedAdds the specified remote profile to the list of connected remote profiles.
AfterConstructionpublicResponds after the last constructor has executed.
AssignpublicCopies the contents of another similar object.
AssignToprotectedCopies the properties of an object to a destination object.
AsyncScheduleprotectedSchedules asynch method calls.
BeforeDestructionpublicPerforms any necessary actions before the first destructor is called.
BeginInvokepublicPerforms an asynchronous call to the method specified by either <AProc> or <AFunc>.
CanObserveprotected
ChangeNameprotectedSets the private, internal storage for the Name property to the string passed in NewName.
CheckDisposedprotected
CheckManagerprotectedReturns True if there is a remote manager with the specified ID that is paired with the manager of your profile.
CheckProfileIsConnectedprotectedRaises an ETetheringException exception if the specified remote profile is not connected to this profile.
CheckProtocolAdapterprotectedReturns True if the specified combination of protocol type and adapter type is supported by your profile.
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.
ConnectpublicEstablishes a connection to the specified remote profile or restarts an existing connection.
CreatepublicCreates and initializes an instance of TTetheringAppProfile.
CreateInstancepublicCreates and returns an instance of TTetheringAppProfile.
CreateResourcepublicCreates a resource with the specified name, type and value.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DefinePropertiesprotectedDesignates methods for storing an object's unpublished data on a stream such as a form file.
DestroypublicDestroys this instance of TTetheringAppProfile.
DestroyComponentspublicDestroys all owned components.
DestroyingpublicIndicates that the component and its owned components are about to be destroyed.
DisconnectpublicDisconnects this profile from the specified remote profile.
DisconnectFromManagerprotectedDisconnects the application profile from the remote manager with the specified Identifier.
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.
DoAcceptResourceprotectedCalled when there is an incoming resource to determine whether the incoming resource is accepted or not.
DoOnDisconnectprotectedDispatcher of the OnDisconnect event.
DoOnIncomingDataprotected
DoReceiveCommandprotectedReturns an instance of TTetheringCommand built from data received from the protocol of the specified connection.
DoRemoteProfileUpdateprotectedCalled when a connected remote profile notifies an update.
DoResourceReceivedprotectedCalled when the application profile receives a previously-accepted remote resource from a remote profile.
DoResourceUpdatedprotectedCalled when the application profile receives a notification about the update of a resource sent from a remote application profile.
DoSendCommandprotectedSends the specified command using the specified connection.
DoSendCommandWithResponseprotectedSends the specified command using the specified connection, waits until it receives a response command, and returns the received command.
EndFunctionInvokepublicBlocks the caller until the specified <ASyncResult> completes.
EndInvokepublicBlocks the caller until the specified <ASyncResult> completes.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
ExecuteActionpublicExecutes an action.
FieldAddresspublicReturns the address of a published object field.
FindComponentpublicIndicates whether a given component is owned by the component.
FindConnectionprotectedReturns the connection that provides access to the specified remote profile.
FindProfileprotectedLooks for a remote profile with the specified ID in the list of remote profiles of its manager. If FindProfile finds such a remote profile, it fills <AProfileInfo> with its information and returns True. Otherwise, it returns False.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
FreeNotificationpublicEnsures that AComponent is notified that the component is going to be destroyed.
FreeOnReleasepublicFrees the interface reference for components that were created from COM classes.
GetAdapterprotectedReturns an instance of a subclass of TTetheringAdapter of the specified adapter type that is supported by the manager of your profile.
GetAllowedProtocolsAdapterspublicReturns an array of pairs of identifiers of protocols and adapters that this application profile supports.
GetChildOwnerprotectedReturns the owner of a child component being read from a stream.
GetChildParentprotectedReturns the parent or, if there is no parent, returns the owner of a child component being read from a stream.
GetChildrenprotectedEnumerates all child components.
GetConnectedProfilespublicReturns the list of connected remote profiles as an array.
GetConnectionToprotectedReturns a connection that provides access to the specified remote profile.
GetDeltaStreamsprotected
GetDisposedprotectedGetter for the Disposed property.
GetEnumeratorpublicReturns a TComponent enumerator.
GetHashCodepublicReturns an integer containing the hash code.
GetIDsOfNamesprotectedMaps a single member and an optional set of argument names to a corresponding set of integer dispatch identifiers (dispIDs).
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.
GetNamePathpublicReturns a string used by the Object Inspector.
GetObserversprotected
GetOwnerprotectedReturns the owner of a component.
GetParentComponentpublicReturns the containing component.
GetProfileTypeprotectedReturns the profile type of TTetheringAppProfile: "APPLICATION".
GetRemoteActionAsyncStatepublicReturns the current state of an asynchronous TRemoteAction.
GetRemoteProfileActionspublicReturns a list of remote actions from the specified remote profile.
GetRemoteProfileResourcespublicReturns a list of remote resources from the specified remote profile.
GetRemoteResourceValuepublicRequests an update of the specified remote resource to its remote profile and returns the updated resource.
GetTypeInfoprotectedRetrieves the type information for an object.
GetTypeInfoCountprotectedReturns the number of type information interfaces that an object provides (either 0 or 1).
HasParentpublicVerifies whether the component has a parent.
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.
InsertComponentpublicEstablishes the component as the owner of a specified component.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
InvokeprotectedProvides access to Automation properties and methods when the component wraps an Automation object.
IsImplementorOfpublicIndicates whether the component implements a specified interface.
IsProfileConnectedprotectedReturns True if the specified remote profile is among the connected profiles or False otherwise.
LoadedprotectedInitializes the component after the form file has been read into memory.
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.
NotificationprotectedInvalidates references to TContainedAction components in TLocalAction items from Actions when those components are removed.
NotifypublicHandles a notification from the manager originally sent by a remote profile.
NotifyProfileUpdatepublicNotifies connected remote profiles about changes in this application profile.
NotifyUpdatepublicSends a notification to connected remote profiles subscribed to the specified resource with the current data of the resource.
ObserverAddedprotected
OnStreamReceivedprotectedHandles the OnStreamReceived event of a protocol associated with this application profile.
OnStringReceivedprotectedHandles the OnStringReceived event of a protocol associated with this application profile.
operator ()publicC++ conversion of a TComponent into a System.Classes.IInterfaceComponentReference or a System.IInterface, depending on casting.
PaletteCreatedprotectedResponds when the component is created from the component palette.
QualifiedClassNamepublicReturns the qualified name of the class.
QueryInterfaceprotectedReturns a reference to a specified interface if the current component supports that interface.
ReadStateprotectedReads the state of the component.
ReceiveCommandpublicReturns an instance of TTetheringCommand built from data received from the protocol of the specified connection or from the protocol of the connection of the specified remote profile.
ReferenceInterfacepublicEstablishes or removes internal links that cause this component to be notified when the implementer of a specified interface is destroyed.
RegisterActionpublicRegisters an action in the list of shared actions of the application profile.
RemoveComponentpublicRemoves a specified component specified from the component's Components list.
RemoveFreeNotificationpublicDisables the destruction notification that was enabled by FreeNotification.
RemoveFreeNotificationsprotectedNotifies all owned components of the owner component's imminent destruction.
RunRemoteActionpublicRequests the execution of the specified remote action and returns True if the execution is successful or False if there is an error.
RunRemoteActionAsyncpublicRequests the execution of the specified remote action asynchronously and returns an asynchronous remote handle.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SendCommandpublicSends the specified command using the specified connection or the connection of the specified remote profile.
SendCommandWithResponsepublicSends the specified command using the specified connection or the connection of the specified remote profile, waits until it receives a response command, and returns the received command.
SendStreampublicSends the specified stream to the specified remote profile and returns True on success or False on failure.
SendStringpublicSends the specified string to the specified remote profile.
SetAncestorprotectedClears or sets csAncestor state in the component's ComponentState property.
SetChildOrderprotectedSets the visual ordering of a child control.
SetDesigningprotectedEnsures that components inserted at design time have their design-mode flag set.
SetDesignInstanceprotectedEnsures that components inserted at design time have their design-mode flag set.
SetInlineprotectedSets the csInline bit of the component's ComponentState property.
SetNameprotectedSetter of the Name property of the profile.
SetParentComponentprotectedSets the parent component.
SetSubComponentpublicIdentifies whether the component is a subcomponent.
StartCommunicationprotectedStarts communications between your profile and connected remote profiles using the protocols of your profile.
StopCommunicationprotectedStops communications between your profile and connected remote profiles using the protocols of your profile.
SubscribeToRemoteItempublicSubscribes this application profile to the specified remote resource of the specified remote profile for updates.
ToStringpublicReturns a string containing the class name.
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
UnSubscribeFromRemoteItempublicUnsubscribes this application profile from the specified remote resource of the specified remote profile to which you previously subscribed for updates.
UpdateActionpublicUpdates the state of an action.
UpdatedprotectedClears the csUpdating state in the component's ComponentState property when the component finishes updating.
UpdateRegistryprotectedProvides the interface for a method that adds type library and version information to the Registry on components that implement COM interfaces.
UpdatingprotectedSets the csUpdating state in the component's ComponentState property.
ValidateContainerprotectedDetermines whether an object can be inserted into a container.
ValidateInsertprotectedProvides the interface for a method that validates a child component before it is inserted.
ValidateRenameprotectedEnsures that renaming an owned component does not create a name conflict.
WriteStateprotectedWrites the state of the component.