Synergy Home Page

au.edu.swin.synergy.plugin.server
Class BServer

java.lang.Object
  |
  +--au.edu.swin.synergy.kernel.BPlugin
        |
        +--au.edu.swin.synergy.plugin.server.BServer

public class BServer
extends BPlugin

Server Redirector plugin

Requirement/analysis/design Reference:
Tristans Book
Dispatches Event:
 
Handles Event:
 
See Also:
BServerSession

Field Summary
static int kPortNumber
           
 
Fields inherited from class au.edu.swin.synergy.kernel.BPlugin
kernel
 
Constructor Summary
BServer()
           
 
Method Summary
 void doProcess(BCommandEvent event, BCommandComplete complete)
           
 Vector getFilters()
           
 void onBCommandEvent(Object source, BCommandEvent event)
          CommandEvent handler
 void setup(BStringList params)
           
 
Methods inherited from class au.edu.swin.synergy.kernel.BPlugin
dispatchEvent, dispatchEventAndWait, dispatchEventServer, dispatchEventServerAndWait, dispatchEventTo, dispatchEventToAndWait, getDependancies, getKernel, setKernel, setup, unload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

kPortNumber

public static final int kPortNumber
Constructor Detail

BServer

public BServer()
Method Detail

setup

public void setup(BStringList params)
Parameters:
void -  
Returns:
void
Throws:
none -  
Overrides:
setup in class BPlugin
Pre Condition:
kernel has been set
Post Condition:
Pre-boot config complete

doProcess

public void doProcess(BCommandEvent event,
                      BCommandComplete complete)
Parameters:
an - event from a serversession, and the completion object
Returns:
void
Throws:
none -  
Pre Condition:
the event is of type kServer only
Post Condition:
the event is dispatched

onBCommandEvent

public void onBCommandEvent(Object source,
                            BCommandEvent event)
CommandEvent handler
Parameters:
source - object
the - event
Returns:
void
Throws:
none -  
Overrides:
onBCommandEvent in class BPlugin
Pre Condition:
the plugin has been loaded
Post Condition:
the command has been handled

getFilters

public Vector getFilters()

Synergy Home Page