SunSPOT API V3.0


com.sun.spot.io.j2me.remoteprinting
Class RemotePrintManager

java.lang.Object
  extended by com.sun.spot.io.j2me.remoteprinting.RemotePrintManager
All Implemented Interfaces:
IRemotePrintManager

public class RemotePrintManager
extends Object
implements IRemotePrintManager

Manages the creation and removal of remote print connections


Method Summary
 void cancelRedirect()
          Cancel current redirection of streams
static IRemotePrintManager getInstance()
           
 void noteRedirection(String remoteAddress)
          Called when streams get redirected to ensure that RemotePrintManager can later cancel the redirection if necessary.
 void redirectOutputStreams(String basestationAddr)
          Start directing output streams to the basestation specified
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static IRemotePrintManager getInstance()

redirectOutputStreams

public void redirectOutputStreams(String basestationAddr)
Description copied from interface: IRemotePrintManager
Start directing output streams to the basestation specified

Specified by:
redirectOutputStreams in interface IRemotePrintManager
Parameters:
basestationAddr - the address of the basestation

cancelRedirect

public void cancelRedirect()
Description copied from interface: IRemotePrintManager
Cancel current redirection of streams

Specified by:
cancelRedirect in interface IRemotePrintManager

noteRedirection

public void noteRedirection(String remoteAddress)
Description copied from interface: IRemotePrintManager
Called when streams get redirected to ensure that RemotePrintManager can later cancel the redirection if necessary.

Specified by:
noteRedirection in interface IRemotePrintManager

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.