org.mbari.siam.core
Class NullPuck

java.lang.Object
  extended by org.mbari.siam.core.NullPuck
All Implemented Interfaces:
Puck

public class NullPuck
extends java.lang.Object
implements Puck


Constructor Summary
NullPuck()
           
 
Method Summary
 java.io.InputStream getInputStream()
          get an InputStream to the puck
 void initialize()
          initialize the puck
 void managePowerSleep(int comms_policy, int inst_policy)
          perform any necessary puck operations before entering powering down
 void managePowerWake(int comms_policy, int inst_policy)
          perform any necessary puck operations on wake-up
 void resume()
          call when device service is resumed
 void setSensorMode()
          switch the puck to sensor mode
 void suspend()
          call when device service is suspended
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullPuck

public NullPuck()
Method Detail

initialize

public void initialize()
                throws InitializeException
initialize the puck

Specified by:
initialize in interface Puck
Throws:
InitializeException

setSensorMode

public void setSensorMode()
                   throws java.io.IOException
switch the puck to sensor mode

Specified by:
setSensorMode in interface Puck
Throws:
java.io.IOException

managePowerWake

public void managePowerWake(int comms_policy,
                            int inst_policy)
                     throws java.io.IOException
perform any necessary puck operations on wake-up

Specified by:
managePowerWake in interface Puck
Throws:
java.io.IOException

managePowerSleep

public void managePowerSleep(int comms_policy,
                             int inst_policy)
                      throws java.io.IOException
perform any necessary puck operations before entering powering down

Specified by:
managePowerSleep in interface Puck
Throws:
java.io.IOException

resume

public void resume()
call when device service is resumed

Specified by:
resume in interface Puck

suspend

public void suspend()
call when device service is suspended

Specified by:
suspend in interface Puck

getInputStream

public java.io.InputStream getInputStream()
                                   throws java.io.IOException
get an InputStream to the puck

Specified by:
getInputStream in interface Puck
Throws:
java.io.IOException


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.