public class OneShotChannelAdaptorMK2 extends QBeanSupport implements OneShotChannelAdaptorMK2MBean, Channel, java.lang.Runnable
Modifier and Type | Class and Description |
---|---|
class |
OneShotChannelAdaptorMK2.Worker |
cfg, log, scheduledThreadPoolExecutor
Constructor and Description |
---|
OneShotChannelAdaptorMK2() |
Modifier and Type | Method and Description |
---|---|
void |
destroyService() |
java.lang.String |
getHost() |
java.lang.String |
getInQueue() |
java.lang.String |
getOutQueue() |
int |
getPort() |
java.lang.String |
getSocketFactory() |
protected void |
initService() |
boolean |
isConnected() |
ISOMsg |
receive() |
ISOMsg |
receive(long timeout) |
void |
run() |
void |
send(ISOMsg m) |
void |
send(ISOMsg m,
long timeout) |
void |
setHost(java.lang.String host) |
void |
setInQueue(java.lang.String in) |
void |
setOutQueue(java.lang.String out) |
void |
setPort(int port) |
void |
setSocketFactory(java.lang.String sFac) |
void |
startService() |
void |
stopService() |
addAttr, close, createElement, destroy, getAttrs, getAttrs, getConfiguration, getDump, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getScheduledThreadPoolExecutor, getServer, getState, getStateAsString, init, isModified, running, setAttr, setConfiguration, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, start, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDump, getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServer
destroy, getState, getStateAsString, init, start, stop
getPersist, isModified
protected void initService() throws java.lang.Exception
initService
in class QBeanSupport
java.lang.Exception
public void startService()
startService
in class QBeanSupport
public void stopService()
stopService
in class QBeanSupport
public void destroyService()
destroyService
in class QBeanSupport
public boolean isConnected()
isConnected
in interface OneShotChannelAdaptorMK2MBean
public void run()
run
in interface java.lang.Runnable
public void send(ISOMsg m)
public void send(ISOMsg m, long timeout)
public ISOMsg receive()
public ISOMsg receive(long timeout)
public java.lang.String getInQueue()
getInQueue
in interface OneShotChannelAdaptorMK2MBean
public void setInQueue(java.lang.String in)
setInQueue
in interface OneShotChannelAdaptorMK2MBean
public java.lang.String getOutQueue()
getOutQueue
in interface OneShotChannelAdaptorMK2MBean
public void setOutQueue(java.lang.String out)
setOutQueue
in interface OneShotChannelAdaptorMK2MBean
public java.lang.String getHost()
getHost
in interface OneShotChannelAdaptorMK2MBean
public void setHost(java.lang.String host)
setHost
in interface OneShotChannelAdaptorMK2MBean
public int getPort()
getPort
in interface OneShotChannelAdaptorMK2MBean
public void setPort(int port)
setPort
in interface OneShotChannelAdaptorMK2MBean
public java.lang.String getSocketFactory()
getSocketFactory
in interface OneShotChannelAdaptorMK2MBean
public void setSocketFactory(java.lang.String sFac)
setSocketFactory
in interface OneShotChannelAdaptorMK2MBean