AsyncProxy
Overview
Abstract base class for all RemObject SDK asynchronous service proxies. Descendants of this class can be found in the _Intf files generated by Remoting SDK codegen to provide a call interface for Remoting SDK-based services.
Location
- Reference: RemObjects.SDK.dll
- Namespace: RemObjects.SDK
- Ancestry: Proxy | AsyncProxy
constructor (IMessage, IClientChannel) protected
Creates a new instance of the AsyncProxy class. Can be called only from the descendant class.
constructor(message: IMessage; clientChannel: IClientChannel)
AsyncProxy(IMessage message, IClientChannel clientChannel)
Sub New(message As IMessage, clientChannel As IClientChannel)
Parameters:
- message: Message instance that will be used to perform communications with the server
- clientChannel: Client channel instance that will be used to perform communications with the server
constructor (IMessage, IClientChannel, String) protected
Creates a new instance of the AsyncProxy class. Can be called only from the descendant class.
constructor(message: IMessage; clientChannel: IClientChannel; interfaceName: String)
AsyncProxy(IMessage message, IClientChannel clientChannel, String interfaceName)
Sub New(message As IMessage, clientChannel As IClientChannel, interfaceName As String)
Parameters:
- message: Message instance that will be used to perform communications with the server
- clientChannel: Message instance that will be used to perform communications with the server
- interfaceName: Service name. Used to provide server service name other than the default one
constructor (Proxy) protected
Creates a new instance of the AsyncProxy class. Can be called only from the descendant class.
This constructor is used when it is needed to connect to another service on the same using already configured connection parameters and Client ID. For example this constructor overload can bbe used to simplify instantiation of DataService proxy after successfull authorisation using the LoginService proxy.
Parameters:
- proxy: Proxy instance that will be used as source of all server connection partameters.
constructor (IRemoteService) protected
Creates a new instance of the AsyncProxy class. Can be called only from the descendant class.
constructor(remoteService: IRemoteService)
AsyncProxy(IRemoteService remoteService)
Sub New(remoteService As IRemoteService)
Parameters:
- remoteService: RemoteService instance that will be used to perform communications with the server
constructor (IRemoteService, String) protected
Creates a new instance of the AsyncProxy class. Can be called only from the descendant class.
constructor(remoteService: IRemoteService; interfaceName: String)
AsyncProxy(IRemoteService remoteService, String interfaceName)
Sub New(remoteService As IRemoteService, interfaceName As String)
Parameters:
- remoteService: RemoteService instance that will be used to perform communications with the server
- interfaceName: Service name. Used to provide server service name other than the default one
constructor (Uri) protected
Creates a new instance of the AsyncProxy class. Can be called only from the descendant class.
constructor(uri: Uri)
AsyncProxy(Uri uri)
Sub New(uri As Uri)
Parameters:
- uri: Server Uri
constructor (String) protected
Creates a new instance of the AsyncProxy class. Can be called only from the descendant class.
constructor(url: String)
AsyncProxy(String url)
Sub New(url As String)
Parameters:
- url: Server Uri
ActiveInterfaceName (declared in Proxy)
property ActiveInterfaceName: String read;
String ActiveInterfaceName { get; }
ReadOnly Property ActiveInterfaceName() As String
ClientChannel (declared in Proxy)
property ClientChannel: IClientChannel read;
IClientChannel ClientChannel { get; }
ReadOnly Property ClientChannel() As IClientChannel
CloneMessage (declared in Proxy)
Gets or sets a flag indicating wheter the Proxy.__GetMessage method should return either a fresh clone of the Proxy.__Message instance or always the same instance.
property CloneMessage: Boolean read write;
Boolean CloneMessage { get; set; }
Property CloneMessage() As Boolean
InterfaceName (declared in Proxy)
property InterfaceName: String read;
String InterfaceName { get; }
ReadOnly Property InterfaceName() As String
Message (declared in Proxy)
OverridenInterfaceName (declared in Proxy)
Gets or sets the overridden interface name. Setting this property alllows to call descendant services using interface classes generated for their ancestor classes.
property OverridenInterfaceName: String read write;
String OverridenInterfaceName { get; set; }
Property OverridenInterfaceName() As String
ActiveInterfaceName (declared in Proxy)
property ActiveInterfaceName: String read;
String ActiveInterfaceName { get; }
ReadOnly Property ActiveInterfaceName() As String
ClientChannel (declared in Proxy)
property ClientChannel: IClientChannel read;
IClientChannel ClientChannel { get; }
ReadOnly Property ClientChannel() As IClientChannel
CloneMessage (declared in Proxy)
Gets or sets a flag indicating wheter the Proxy.__GetMessage method should return either a fresh clone of the Proxy.__Message instance or always the same instance.
property CloneMessage: Boolean read write;
Boolean CloneMessage { get; set; }
Property CloneMessage() As Boolean
InterfaceName (declared in Proxy)
property InterfaceName: String read;
String InterfaceName { get; }
ReadOnly Property InterfaceName() As String
Message (declared in Proxy)
OverridenInterfaceName (declared in Proxy)
Gets or sets the overridden interface name. Setting this property alllows to call descendant services using interface classes generated for their ancestor classes.
property OverridenInterfaceName: String read write;
String OverridenInterfaceName { get; set; }
Property OverridenInterfaceName() As String
constructor (IMessage, IClientChannel) protected
Creates a new instance of the AsyncProxy class. Can be called only from the descendant class.
constructor(message: IMessage; clientChannel: IClientChannel)
AsyncProxy(IMessage message, IClientChannel clientChannel)
Sub New(message As IMessage, clientChannel As IClientChannel)
Parameters:
- message: Message instance that will be used to perform communications with the server
- clientChannel: Client channel instance that will be used to perform communications with the server
constructor (IMessage, IClientChannel, String) protected
Creates a new instance of the AsyncProxy class. Can be called only from the descendant class.
constructor(message: IMessage; clientChannel: IClientChannel; interfaceName: String)
AsyncProxy(IMessage message, IClientChannel clientChannel, String interfaceName)
Sub New(message As IMessage, clientChannel As IClientChannel, interfaceName As String)
Parameters:
- message: Message instance that will be used to perform communications with the server
- clientChannel: Message instance that will be used to perform communications with the server
- interfaceName: Service name. Used to provide server service name other than the default one
constructor (Proxy) protected
Creates a new instance of the AsyncProxy class. Can be called only from the descendant class.
This constructor is used when it is needed to connect to another service on the same using already configured connection parameters and Client ID. For example this constructor overload can bbe used to simplify instantiation of DataService proxy after successfull authorisation using the LoginService proxy.
Parameters:
- proxy: Proxy instance that will be used as source of all server connection partameters.
constructor (IRemoteService) protected
Creates a new instance of the AsyncProxy class. Can be called only from the descendant class.
constructor(remoteService: IRemoteService)
AsyncProxy(IRemoteService remoteService)
Sub New(remoteService As IRemoteService)
Parameters:
- remoteService: RemoteService instance that will be used to perform communications with the server
constructor (IRemoteService, String) protected
Creates a new instance of the AsyncProxy class. Can be called only from the descendant class.
constructor(remoteService: IRemoteService; interfaceName: String)
AsyncProxy(IRemoteService remoteService, String interfaceName)
Sub New(remoteService As IRemoteService, interfaceName As String)
Parameters:
- remoteService: RemoteService instance that will be used to perform communications with the server
- interfaceName: Service name. Used to provide server service name other than the default one
constructor (Uri) protected
Creates a new instance of the AsyncProxy class. Can be called only from the descendant class.
constructor(uri: Uri)
AsyncProxy(Uri uri)
Sub New(uri As Uri)
Parameters:
- uri: Server Uri
constructor (String) protected
Creates a new instance of the AsyncProxy class. Can be called only from the descendant class.
constructor(url: String)
AsyncProxy(String url)
Sub New(url As String)
Parameters:
- url: Server Uri