org.astrogrid.samp.client
Interface ClientProfile

All Known Implementing Classes:
StandardClientProfile

public interface ClientProfile

Defines Profile-specific aspects of the SAMP client implementation.

Since:
15 Jul 2008
Author:
Mark Taylor

Method Summary
 HubConnection register()
          Attempts to register with a SAMP hub and return a corresponding connection object.
 

Method Detail

register

public HubConnection register()
                       throws SampException
Attempts to register with a SAMP hub and return a corresponding connection object. Some profile-specific hub discovery mechanism is used to locate the hub. If no hub is running, null will normally be returned.

Returns:
hub connection representing a new registration, or null
Throws:
SampException - in case of some unexpected error


Copyright © 2008 AstroGrid. All Rights Reserved.