All Packages  This Package  Class Hierarchy  Class Search  Index

Class bmsi.edx.Edxjava
java.lang.Object
   |
   +----bmsi.edx.Edxjava

  Summary

public class  Edxjava
     extends java.lang.Object
     implements bmsi.edx.Edxtcb
{
          // Methods 4
     public static EDXServletRequest getRequest();
     public static void main(String[]) throws Exception;
     public static int ushell(String, byte[]) throws EDXShellException;

     public void who();
}

This class implements another level on top of the CALLUSER interface provided by Edxuser. We provide a way for EDX programs to invoke specific Java classes that implement the EDXServlet interface. This class is invoked by loading JAVA,MSLIB in the EDX system - usually in $INITIAL.

Author:
Stuart D. Gathman

See Also: EDXServlet


  Cross Reference

Returned By:
EDXServletRequest.getEdxjava()





  Methods

· getRequest

Summary  |  Top
   public static EDXServletRequest getRequest() 

Return the EDXServletRequest corresponding to the current Thread.

Returns:
null if there is no request associated with the current Thread


· who

Summary  |  Top
   public void who() 


· ushell

Summary  |  Top
   public static int ushell(String cmd, 
                            byte[] b)  throws EDXShellException

Run a command from the user's EDX4978 interface. Equivalent to getRequest().ushell(cmd,b), except that no NullPointerException is thrown if there is no Request for the current Thread.

Unix commands can read binary EDX parameter bytes on file descriptor 4 and write a binary EDX result record to file descriptor 3.

Parameter Description
cmd the command to execute - interpreted by the shell
b EDX parameters to pass to the command

Returns:
the number of EDX parameter bytes returned by the called program

See Also: ushell



· main

Summary  |  Top
   public static void main(String[] argv)  throws Exception

The entry point for the interface provided by the JAVA, LOADJAVA, and FINDJAVA EDL routines. This JAVA interface is built on top of the CALLUSER interface provided by Edxuser.



All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7