|
SunSPOT API V6.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.spot.resources.Resource
com.sun.spot.io.j2me.remoteprinting.RemotePrintManager
public class RemotePrintManager
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. |
OutputStream |
openOutputStream(String address,
int portNo)
|
void |
redirectOutputStreams(String basestationAddr)
Start directing output streams to the basestation specified |
| Methods inherited from class com.sun.spot.resources.Resource |
|---|
addTag, getTags, getTagValue, hasTag, removeTag |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.spot.resources.IResource |
|---|
addTag, getTags, getTagValue, hasTag, removeTag |
| Method Detail |
|---|
public static IRemotePrintManager getInstance()
public OutputStream openOutputStream(String address,
int portNo)
openOutputStream in interface IRemotePrintManagerpublic void redirectOutputStreams(String basestationAddr)
IRemotePrintManager
redirectOutputStreams in interface IRemotePrintManagerbasestationAddr - the address of the basestationpublic void cancelRedirect()
IRemotePrintManager
cancelRedirect in interface IRemotePrintManagerpublic void noteRedirection(String remoteAddress)
IRemotePrintManager
noteRedirection in interface IRemotePrintManager
|
SunSPOT API V6.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||