Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / ENSLIB namespace / %Net.Remote.Object
Private  Storage   

%Net.Remote.Object


class %Net.Remote.Object extends
%RegisteredObject

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 1 15


Summary


Properties
Gateway

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassMethod %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchNativeCall %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %Extends %GetParameter %GetResponse
%IsA %IsModified %New %NormalizeObject
%ObjectModified %OnClose %OnNew %OriginalNamespace
%PackageName %PostInvoke %PreInvoke %ProcessError
%ProcessY9 %RemoveFromSaveSet %SerializeObject %SetModified
%ValidateObject %cullStack %cullStackOne %mergeStack


Parameters


• parameter SYSIOToCallRetainObject = 0;

Properties


• property Gateway as %Net.Remote.Gateway;

Methods


• classmethod %ClassMethod(gateway As %Net.Remote.Gateway, className As %String, methodName As %String, args...) as %ObjectHandle
• method %DispatchGetProperty(property As %String) as %ObjectHandle
Is used to get the value of an unknown property.
• method %DispatchMethod(method As %String, args...) as %ObjectHandle
Is used to implement an unknown method call. It is also used to resolve an unknown multidimensional property reference (to get the value of a property) because that syntax is identical to a method call.
• classmethod %DispatchNativeCall(msgid, fun) as %String
• method %DispatchSetProperty(property As %String, value)
is used to set the value of an unknown property.
• classmethod %GetResponse(gateway As %Net.Remote.Gateway, functionCode As %String, ByRef orefCache)
• method %OnClose() as %Status
This callback method is invoked by the %Close method to provide notification that the current object is being closed.

The return value of this method is ignored.

• method %OnNew(gateway As %Net.Remote.Gateway, className As %String, args...) as %Status
This callback method is invoked by the %New method to provide notification that a new instance of an object is being created.

If this method returns an error then the object will not be created.

It is passed the arguments provided in the %New call. When customizing this method, override the arguments with whatever variables and types you expect to receive from %New(). For example, if you're going to call %New, passing 2 arguments, %OnNew's signature could be:

Method %OnNew(dob as %Date = "", name as %Name = "") as %Status If instead of returning a %Status code this returns an oref and this oref is a subclass of the current class then this oref will be the one returned to the caller of %New method.

• final classmethod %PostInvoke(gateway As %Net.Remote.Gateway)
• final classmethod %PreInvoke(gateway As %Net.Remote.Gateway, parameters)
• final classmethod %ProcessError(gateway As %Net.Remote.Gateway, error As %String)
• classmethod %ProcessY9(gateway, msgid, orefCache) as %String
• classmethod %cullStack(inStack) as %String
• classmethod %cullStackOne(line) as %String
• classmethod %mergeStack(precedingStack, remoteStack, localStack, remoteLanguage) as %String