OSMQ
v2.0.1

osmq.clients
Class PubConnectionHandler

java.lang.Object
  extended byosmq.clients.PubConnectionHandler
All Implemented Interfaces:
ExceptionListener

public class PubConnectionHandler
extends java.lang.Object
implements ExceptionListener

A class the contains all the objects shared by all threads that access a common broker for publishing messages. It includes and outbound (publisher) socket stream.


Constructor Summary
PubConnectionHandler()
          The publisher connection handler for the default service (osmq) and the common client ID.
PubConnectionHandler(RemoteService si)
           
PubConnectionHandler(RemoteService si, ClientIdentifier ci)
           
 
Method Summary
 void onException(java.lang.Exception e)
          Notify user of an exception.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PubConnectionHandler

public PubConnectionHandler()
The publisher connection handler for the default service (osmq) and the common client ID.


PubConnectionHandler

public PubConnectionHandler(RemoteService si)

PubConnectionHandler

public PubConnectionHandler(RemoteService si,
                            ClientIdentifier ci)
Method Detail

onException

public void onException(java.lang.Exception e)
Description copied from interface: ExceptionListener
Notify user of an exception.

Specified by:
onException in interface ExceptionListener
Parameters:
e - the exception.

(c) 2000 - 2003 MQue Systems
All Rights Reserved