org.jbpm.task.service.hornetq
Class HornetQTaskClientConnector
java.lang.Object
org.jbpm.task.service.hornetq.HornetQTaskClientConnector
- All Implemented Interfaces:
- org.jbpm.task.service.TaskClientConnector
public class HornetQTaskClientConnector
- extends Object
- implements org.jbpm.task.service.TaskClientConnector
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
protected org.hornetq.api.core.client.ClientSession session
handler
protected final org.jbpm.task.service.BaseClientHandler handler
name
protected final String name
counter
protected AtomicInteger counter
HornetQTaskClientConnector
public HornetQTaskClientConnector(String name,
org.jbpm.task.service.BaseClientHandler handler)
connect
public boolean connect(String address,
int port)
- Specified by:
connect in interface org.jbpm.task.service.TaskClientConnector
connect
public boolean connect()
- Specified by:
connect in interface org.jbpm.task.service.TaskClientConnector
disconnect
public void disconnect()
throws Exception
- Specified by:
disconnect in interface org.jbpm.task.service.TaskClientConnector
- Throws:
Exception
write
public void write(Object object)
- Specified by:
write in interface org.jbpm.task.service.TaskClientConnector
getCounter
public AtomicInteger getCounter()
- Specified by:
getCounter in interface org.jbpm.task.service.TaskClientConnector
getHandler
public org.jbpm.task.service.BaseHandler getHandler()
- Specified by:
getHandler in interface org.jbpm.task.service.TaskClientConnector
getName
public String getName()
- Specified by:
getName in interface org.jbpm.task.service.TaskClientConnector
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.