All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.syncbuilder.internal.sync.NetworkHSSocketImpl
java.lang.Object
   |
   +----com.syncbuilder.sync.SocketImpl
           |
           +----com.syncbuilder.internal.sync.NetworkHSSocketImpl

  Summary

public class  NetworkHSSocketImpl
     extends com.syncbuilder.sync.SocketImpl
{
          // Constructors 1
     public NetworkHSSocketImpl();

          // Methods 10
     public void accept(SocketImpl) throws IOException;
     public void accept(SocketImpl, int) throws IOException;
     public void bind(String) throws IOException;
     public void close() throws IOException, DlpException;
     public void create() throws IOException;
     public int getVersion() throws IOException;
     public boolean isOpen();
     public void listen(int) throws IOException;
     public int read(byte[], int) throws IOException;
     public int write(byte[], int) throws IOException;
}

This is an implementation of SocketImpl that provides the functionality for TCP/IP-based Network HotSync(R).
This implementation can only be used with those methods of the Dlp which are implemented in Pure Java. It is designed to be used in an environment where many PalmOS devices connect simultaneously with the same server.




  Constructors

· NetworkHSSocketImpl

Summary  |  Top

   public NetworkHSSocketImpl() 

Default constructor



  Methods

· isOpen

Summary  |  Top
   public boolean isOpen() 
Overrides:
isOpen in class SocketImpl


· getVersion

Summary  |  Top
   public int getVersion()  throws IOException
Overrides:
getVersion in class SocketImpl


· read

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

Read a specified number of bytes into the specified array.

Overrides:
read in class SocketImpl


· write

Summary  |  Top
   public int write(byte[] data, 
                    int len)  throws IOException

Write a specified number of bytes from the specified array.

Overrides:
write in class SocketImpl


· create

Summary  |  Top
   public void create()  throws IOException

Switch the SocketImpl into ServerSocket-mode

Overrides:
create in class SocketImpl


· accept

Summary  |  Top
   public void accept(SocketImpl impl, 
                      int timeout)  throws IOException
Overrides:
accept in class SocketImpl


· accept

Summary  |  Top
   public void accept(SocketImpl impl)  throws IOException
Overrides:
accept in class SocketImpl


· bind

Summary  |  Top
   public void bind(String device)  throws IOException

Bind the server-socket to the network-device

Parameter Description
device this parameter will be cheerfully ignored

Overrides:
bind in class SocketImpl


· listen

Summary  |  Top
   public void listen(int backlog)  throws IOException

Make the ServerSocket listen to the network

Overrides:
listen in class SocketImpl


· close

Summary  |  Top
   public void close()  throws IOException, DlpException
Overrides:
close in class SocketImpl


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