System.Tether.Manager.TTetheringProtocol Methods
InheritedProtected
AfterConstruction | public | Responds after the last constructor has executed. |
BeforeDestruction | public | Responds before the first destructor executes. |
CheckDisposed | protected | |
CheckPassword | protected | Returns True if the specified hash matches a hash of the concatenation of the password of the manager for the protocol adapter and the specified seed. |
CheckToken | protected | Returns True if the specified hash matches a hash of the concatenation of the hash from the last connection to the remote manger and the specified seed. |
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. |
Connect | public | Establishes a connection using the specified connection data. |
Create | public | Creates an instance of TTetheringProtocol. |
CreateInstance | public | Creates an instance of the protocol and returns it. |
DefaultHandler | public | Provides the interface for a method that processes message records. |
Destroy | public | Destroys this instance of TTetheringProtocol. |
Disconnect | public | Breaks the current connection of the protocol. |
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. |
DoOnCommand | protected | |
DoReceiveData | protected | Receives data. |
DoReceiveStream | protected | Receives a stream. |
DoSendData | protected | Sends data to a connected client. |
DoSendStream | protected | Sends the specified stream to the remote protocol and returns True on success or False on failure. |
Equals | public | Checks whether the current instance and the Obj parameter are equal. |
FieldAddress | public | Returns the address of a published object field. |
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. |
GenerateToken | protected | Returns an SHA-1 token based on the specified manager identifier and random seed. |
GetConnectionString | public | Returns the connection string required to connect to the local protocol. |
GetDisposed | protected | Getter for the Disposed property. |
GetHash | protected | Returns an SHA-1 hash of the specified string. |
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. |
GetIsConnected | protected | Returns True if the protocol is connected or False it the protocol is not connected. |
GetProtocolType | protected | Returns the type of this protocol. |
GetRandomString | protected | Returns a random string with the specified number of characters (10 by default). |
InheritsFrom | public | Determines the relationship of two object types. |
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. |
MethodAddress | public | Returns the address of a class method by name. |
MethodName | public | Returns the name of a class method by address. |
NewInstance | public | Allocates memory for an instance of an object type and returns a pointer to that new instance. |
QualifiedClassName | public | Returns the qualified name of the class. |
ReadData (deprecated) | public | Returns an array of bytes that this method reads from the remote protocol. |
ReadStream (deprecated) | public | Reads a stream from the remote protocol into the specified variable, and returns True on success or False on failure. |
ReadStringData (deprecated) | public | Returns a string that this method reads from the remote protocol. |
ReceiveData | public | Returns an array of bytes that this method reads from the remote protocol. |
ReceiveStream | public | Reads a stream from the remote protocol into the specified variable, and returns True on success or False on failure. |
ReceiveStringData | public | Converts received data into a string and returns it. |
SafeCallException | public | Handles exceptions in methods declared using the safecall calling convention. |
SaveTokenFromLocal | protected | Saves the specified remote manager identifier and hash to the list of known remote managers of the manager for the adapter of your protocol. |
SaveTokenFromRemote | protected | Saves the specified remote manager identifier and hash to the list of known remote managers of the manager for the adapter of your protocol. |
SendData | public | Sends the specified data to the remote protocol. |
SendStream | public | Sends the specified stream to the remote protocol and returns True on success or False on failure. |
StartCommunication | protected | Prepares the protocol for establishing connections. |
StopCommunication | protected | Disables the ability of the protocol to establish connections. |
ToString | public | Returns a string containing the class name. |
TransferStream (deprecated) | public | Sends the specified stream to the remote protocol and returns True on success or False on failure. |
UnitName | public | Returns the name of the unit where the class is defined. |
UnitScope | public | Returns the class's unit scope. |