All Packages  This Package  Class Hierarchy  Class Search  Index

Class com.syncbuilder.sync.Link
java.lang.Object
   |
   +----com.syncbuilder.sync.Link

  Summary

public class  Link
     extends java.lang.Object
{
          // Constructors 1
     public Link(Socket) throws IOException;

          // Methods 3
     public Dlp getDlp();
     public int getProtocolVersion();
     public Socket getSocket();
}

A Link is a single connection between a Palm device and the host.
It contains all the information about the established connection. This includes information about the underlying transport (Socket, Dlp), as well as higher level information (client authentification).

See Also: Dlp, Socket


  Cross Reference

Returned By:
ServerSocket.accept(), ServerSocket.accept()





  Constructors

· Link

Summary  |  Top
   public Link(Socket sock)  throws IOException

Construct a new Link from a Socket



  Methods

· getDlp

Summary  |  Top
   public Dlp getDlp() 


· getSocket

Summary  |  Top
   public Socket getSocket() 
Note: getSocket() is deprecatedYou are discouraged from operating directly on Sockets.

Retrieve the underlying Socket of the Link.



· getProtocolVersion

Summary  |  Top
   public int getProtocolVersion() 

Get the protocol-version of the connection. This information can be used to distinguish devices running Palm OS 1.0 from those devices running Palm OS 2.0 and higher.
Devices running Palm OS 1.0 have limitations and bugs and therefore need to be treated specially in some respects.
The classes in this framework iron out these differences in a way that is completely transparent to the developer.



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