com.maplesoft.client.maplets
Class MapleNetMaplet

java.lang.Object
  |
  +--com.maplesoft.client.maplets.MapleNetMaplet

public class MapleNetMaplet
extends java.lang.Object

An object representing an active MapleNet maplet.


Constructor Summary
MapleNetMaplet()
           
 
Method Summary
 void destroy()
          Destroy this maplet.
static void main(java.lang.String[] args)
           
 void setAlive(boolean flag)
           
 void setBaseURL(java.net.URL base)
          Set the base URL for the maplet.
 void setConsole(MapleNetConsole c)
           
 void setFile(java.lang.String filename)
          Set the relative URL for the maplet file to load.
 void setHost(java.lang.String host, int port)
          Set the host information for this maplet.
 void setMaplet(java.lang.String mplt)
           
 void setMapletSetup(java.lang.String mSetup)
           
 void setUser(java.lang.String user, java.lang.String password)
          Set the user information for this maplet.
 void start()
          Start this maplet.
 void stop()
          Stop this maplet.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapleNetMaplet

public MapleNetMaplet()
Method Detail

setFile

public void setFile(java.lang.String filename)
Set the relative URL for the maplet file to load.
Parameters:
filename - of maplet file.
Returns:
void

setBaseURL

public void setBaseURL(java.net.URL base)
Set the base URL for the maplet.
Parameters:
base - the base URL to which the relative maplet URL refers.
Returns:
void

setMaplet

public void setMaplet(java.lang.String mplt)

setMapletSetup

public void setMapletSetup(java.lang.String mSetup)

setHost

public void setHost(java.lang.String host,
                    int port)
Set the host information for this maplet.
Parameters:
host - Name of host machine
port - Port number to connect on
Returns:
void

setUser

public void setUser(java.lang.String user,
                    java.lang.String password)
Set the user information for this maplet.
Parameters:
user - username to use when connecting to server
password - password for user
Returns:
void

start

public void start()
Start this maplet.
Returns:
void

stop

public void stop()
Stop this maplet.
Returns:
void

destroy

public void destroy()
Destroy this maplet.
Returns:
void

setConsole

public void setConsole(MapleNetConsole c)

setAlive

public void setAlive(boolean flag)

main

public static void main(java.lang.String[] args)