JSMCommand インターフェースを利用して、クライアント・プログラムからコマンド・オブジェクトにアクセスすることができます。

public interface JSMCommand
\{
  public final static String SERVICE_LOAD    = "SERVICE_LOAD" ;
  public final static String SERVICE_UNLOAD  = "SERVICE_UNLOAD" ;
  public final static String SERVICE_READ    = "SERVICE_READ" ;
  public final static String SERVICE_GET     = "SERVICE_GET" ;
  public final static String SERVICE_SET     = "SERVICE_SET" ;
  public final static String SERVICE_RECLAIM = "SERVICE_RECLAIM" ;
 
  public final static int HTTP_CONTEXT_UNKNOWN  = 0 ;
  public final static int HTTP_CONTEXT_NONE     = 1 ; // Interactive
  public final static int HTTP_CONTEXT_CONNECT  = 2 ; // HTTP connect
  public final static int HTTP_CONTEXT_REQUEST  = 3 ; // HTTP request
  public final static int HTTP_CONTEXT_KEYWORDS = 4 ; // HTTP keywords
 
  public String getCommand () ;
 
  public JSMList getList () ;
  public JSMFieldList getFieldList () ;
 
  public JSMClient getClient () ;
 
  public byte\[\] getByteArray () ;
 
  public Enumeration getKeywords () ;
  public String getKeywordValue ( String key ) ;
 
  public boolean isHTTP () ;
  public int getHTTPContext () ;
 
  public Enumeration getHTTPKeywords () ;
  public String getHTTPKeywordValue ( String key ) ;
 
  public boolean equals ( String command ) ;
\}

詳細については、「&<a href="intb5_0030.htm"&>コマンド&</a&>」を参照してください。