solar.service.pack.client
Class PackClient
java.lang.Object
|
+--solar.service.pack.client.PackClient
- public class PackClient
- extends java.lang.Object
The facade class to interact with Solar system for PACK service.
- Version:
- $Id: PackClient.java,v 1.14 2003/10/12 00:58:38 glchen Exp $
- Author:
- Guanling Chen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_log
protected static org.apache.log4j.Logger _log
_dispatch
private DispatchService _dispatch
_pack
private PackService _pack
_servman
private ServiceManager _servman
PackClient
public PackClient(java.lang.String host,
int port)
throws java.lang.Exception
PackClient
public PackClient(java.lang.String host,
int port,
serp.util.Options opts)
throws java.lang.Exception
PackClient
public PackClient(java.lang.String cfg)
throws java.lang.Exception
PackClient
public PackClient(serp.util.Options opts)
throws java.lang.Exception
getDefaultOptions
private serp.util.Options getDefaultOptions()
construct
private void construct(serp.util.Options opts)
throws java.lang.Exception
- Common operations needed by constructors.
java.lang.Exception
attachPublisher
public void attachPublisher(Id pubId,
Publisher publisher)
throws java.lang.Exception
java.lang.Exception
detachPublisher
public void detachPublisher(Id pubId)
throws java.lang.Exception
java.lang.Exception
attachSubscriber
public void attachSubscriber(Id subId,
Subscriber subscriber)
throws java.lang.Exception
java.lang.Exception
detachSubscriber
public void detachSubscriber(Id subId)
throws java.lang.Exception
java.lang.Exception
subscribe
public void subscribe(Id pubId,
Id subId,
java.lang.Object policy)
throws java.lang.Exception
java.lang.Exception
publish
public void publish(Id pubId,
Event evt)
throws java.lang.Exception
java.lang.Exception
makeGuid
public Guid makeGuid(Id id)
getMobileHostService
public MobileHostService getMobileHostService()
throws java.lang.Exception
java.lang.Exception
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exception