net.sourceforge.geeboss.controller.thread
Class MidiPortOpenner

java.lang.Object
  extended by java.lang.Thread
      extended by net.sourceforge.geeboss.controller.thread.MidiJobThread
          extended by net.sourceforge.geeboss.controller.thread.MidiPortOpenner
All Implemented Interfaces:
java.lang.Runnable

public class MidiPortOpenner
extends MidiJobThread

This Thread opens midi ports.

Author:
Frederic BORRY

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class net.sourceforge.geeboss.controller.thread.MidiJobThread
mContainer, mStopped
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
MidiPortOpenner(MainView geebossGui, java.lang.String inputPortName, java.lang.String outputPortName)
          Create a new PortOpenner thread
 
Method Summary
 java.lang.String getStatusText()
          Get the thread's status text
 void run()
          Load the newsfeed located at the URL
 
Methods inherited from class net.sourceforge.geeboss.controller.thread.MidiJobThread
bindMidiJob, isStopped, startThread, stopThread
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MidiPortOpenner

public MidiPortOpenner(MainView geebossGui,
                       java.lang.String inputPortName,
                       java.lang.String outputPortName)
Create a new PortOpenner thread

Parameters:
geebossGui - the main view
inputPortName - the input port name or null
outputPortName - the output port name or null
Method Detail

run

public void run()
Load the newsfeed located at the URL

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread
See Also:
Thread.run()

getStatusText

public java.lang.String getStatusText()
Description copied from class: MidiJobThread
Get the thread's status text

Specified by:
getStatusText in class MidiJobThread


Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.