All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.syncbuilder.internal.sync.PilotInputStream
java.lang.Object
   |
   +----java.io.InputStream
           |
           +----com.syncbuilder.internal.sync.PilotInputStream

  Summary

public class  PilotInputStream
     extends java.io.InputStream
{
          // Constructors 1
     public PilotInputStream(SocketImpl);

          // Methods 3
     public int read() throws IOException;
     public int read(byte[]) throws IOException;
     public int read(byte[], int, int) throws IOException;
}

PilotInputStream is a specialization of java.io.InputStream which is capable of receiving data from the PalmPilot through an instance of SocketImpl (either serial or TCP/IP).




  Constructors

· PilotInputStream

Summary  |  Top

   public PilotInputStream(SocketImpl simpl) 


  Methods

· read

Summary  |  Top
   public int read()  throws IOException

Read a single byte from the PalmPilot. This is highly inefficient. Use bulk-reads instead.
CAUTION: The return value is currently not guaranteed to be accurate

Overrides:
read in class InputStream


· read

Summary  |  Top
   public int read(byte[] b)  throws IOException

Read several bytes from the PalmPilot. This is a very efficient bulk-read.
CAUTION: The return value is currently not guaranteed to be accurate

Overrides:
read in class InputStream


· read

Summary  |  Top
   public int read(byte[] b, 
                   int off, 
                   int len)  throws IOException

Read several bytes from the PalmPilot. This is a very efficient bulk-read.
CAUTION: The return value is currently not guaranteed to be accurate

Overrides:
read in class InputStream


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7