Home > Class Reference > ENSLIB namespace > %Net.Remote.Object

%Net.Remote.Object

class %Net.Remote.Object extends %Library.RegisteredObject

Property Inventory

Method Inventory

Properties

property %gateway as %Net.Remote.Gateway;
Property methods: %gatewayGet(), %gatewayGetSwizzled(), %gatewayIsValid(), %gatewayNewObject(), %gatewaySet()

Methods

classmethod %ClassMethod(gateway As %Net.Remote.Gateway, className As %String, methodName As %String, args...) as %ObjectHandle [ Language = objectscript ]
method %Constructor(gateway As %Net.Remote.Gateway, className As %String, args...) as %Status [ Language = objectscript ]
method %DispatchGetProperty(property As %String) as %ObjectHandle [ Language = objectscript ]
Inherited description: Is used to get the value of an unknown property.
method %DispatchMethod(method As %String, args...) as %ObjectHandle [ Language = objectscript ]
Inherited description: 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(device, msgid, context, fun) as %String [ Language = objectscript ]
method %DispatchSetProperty(property As %String, value) [ Language = objectscript ]
Inherited description: is used to set the value of an unknown property.
classmethod %GetResponse(gateway As %Net.Remote.Gateway, sequenceNumber As %Integer, functionCode As %String, currentDevice As %String, ByRef orefCache) [ Language = objectscript ]
classmethod %GetStaticProperty(gateway As %Net.Remote.Gateway, className As %String, propertyName As %String) as %ObjectHandle [ Language = objectscript ]
method %OnClose() as %Status [ Language = objectscript ]
Inherited description: 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, args...) as %Status [ Language = objectscript ]
Inherited description: 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, device) [ Language = objectscript ]
final classmethod %PreInvoke(gateway As %Net.Remote.Gateway, parameters) [ Language = objectscript ]
final classmethod %ProcessError(gateway As %Net.Remote.Gateway, currentDevice As %String, error As %String) [ Language = objectscript ]
classmethod %ProcessReturnValues(gateway, currentDevice, returnValue, args...) [ Language = objectscript ]
classmethod %ProcessY9(gateway, msgid, orefCache) as %String [ Language = objectscript ]
classmethod %ProcessYG(gateway, msgid) as %String [ Language = objectscript ]
classmethod %ProcessYH(gateway, msgid) as %String [ Language = objectscript ]
classmethod %SetStaticProperty(gateway As %Net.Remote.Gateway, className As %String, propertyName As %String, value As %ObjectHandle) [ Language = objectscript ]
classmethod %cullStack(inStack) as %String [ Language = objectscript ]
classmethod %cullStackOne(line) as %String [ Language = objectscript ]
classmethod %mergeStack(precedingStack, remoteStack, localStack, remoteLanguage) as %String [ Language = objectscript ]

Inherited Methods

Subclasses