JmgExternalTerminal Class [AX 2012]

This class is part of the External terminal interface to Shop Floor Control. The class represents an external terminal, from where Shop Floor Control should be able to receive registrations.

class JmgExternalTerminal extends Object

Run On

Called

  MethodDescription
Gg738415.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg738415.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg738415.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg738415.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg738415.pubmethod(en-us,AX.60).gif init Initializes the terminal object.
Gg738415.pubmethod(en-us,AX.60).gif new Initializes a new instance of the Object class. (Inherited from Object.)
Gg738415.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Gg738415.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Gg738415.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg738415.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg738415.protmethod(en-us,AX.60).gif parse Parses input from the external terminal into an instance of the JmgExternalTerminalData class.
Gg738415.pubmethod(en-us,AX.60).gif parserClass Returns the class ID of this class.
Gg738415.pubmethod(en-us,AX.60).gif response Based on the result from the JmgExternalTerminal.parse method, it generates the response, which are returned by the JmgExternalTerminal.insertData method.
Gg738415.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg738415.pubmethod(en-us,AX.60).gif terminalId Returns the terminal ID of this external terminal.
Gg738415.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg738415.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Gg738415.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg738415.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Top

The class is declared as abstract. When registrations should be received from an external terminal, a subclass of this class should be created. By implementing the abstract methods of this class, a new registration can be made by simply calling the JmgExternalTerminal.insertData method. The external terminal interface is based on the notion, that incoming data can be encoded as a string, and responses to the external terminal can also be encoded as strings. Data is automatically validated, and inserted into the JmgTermReg table. If the data cannot be validated, the registration is automatically saved in the JmgTermRegError table. From here, the registrations can be reviewed, edited and either moved to the JmgTermReg table or deleted.

Object Class
  JmgExternalTerminal Class

Community Additions

ADD
Show: