frog
Class Frog

java.lang.Object
  extended by frog.Frog

public class Frog
extends Object

Main class for FROG. Loads Plugins and Filters.

Author:
Team Better Recognize

Field Summary
static Class<?>[] availFilters
          array of available filter classes
static String codeBase
          the directory FROG is running from
 
Method Summary
 void discover(Vector<Device> devices)
          Given an empty list of devices to fill up, starts searching for devices that are available.
static Frog getInstance()
          Returns the singleton instance of FROG
static Session newSession()
          Creates a new Session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

availFilters

public static final Class<?>[] availFilters
array of available filter classes


codeBase

public static final String codeBase
the directory FROG is running from

Method Detail

discover

public void discover(Vector<Device> devices)
Given an empty list of devices to fill up, starts searching for devices that are available. Formal connections can then be started with a call to Device.connect(DeviceListener).

Parameters:
devices - to be filled with potential devices to connect to

getInstance

public static Frog getInstance()
Returns the singleton instance of FROG

Returns:
the FROG instance running on your system

newSession

public static Session newSession()
Creates a new Session.

Returns:
a new Session object