org.jpos.q2.iso
Class QServer
java.lang.Object
org.jpos.q2.QBeanSupport
org.jpos.q2.iso.QServer
- All Implemented Interfaces:
- Configurable, ISORequestListener, QServerMBean, QBean, QBeanSupportMBean, QPersist, SpaceListener
public class QServer
- extends QBeanSupport
- implements QServerMBean, SpaceListener, ISORequestListener
ISO Server wrapper.
- Version:
- $Revision$ $Date$
- Author:
- Alwyn Schoeman
| Methods inherited from class org.jpos.q2.QBeanSupport |
addAttr, createElement, destroy, getAttrs, getAttrs, getConfiguration, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getServer, getState, getStateAsString, init, isModified, running, setAttr, setConfiguration, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, shutdownQ2, start, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jpos.q2.QBeanSupportMBean |
getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServer, shutdownQ2 |
sp
protected LocalSpace sp
QServer
public QServer()
initService
public void initService()
throws ConfigurationException
- Overrides:
initService in class QBeanSupport
- Throws:
ConfigurationException
startService
public void startService()
- Overrides:
startService in class QBeanSupport
stopService
public void stopService()
- Overrides:
stopService in class QBeanSupport
destroyService
public void destroyService()
- Overrides:
destroyService in class QBeanSupport
setPort
public void setPort(int port)
- Specified by:
setPort in interface QServerMBean
getPort
public int getPort()
- Specified by:
getPort in interface QServerMBean
setPackager
public void setPackager(String packager)
- Specified by:
setPackager in interface QServerMBean
getPackager
public String getPackager()
- Specified by:
getPackager in interface QServerMBean
setChannel
public void setChannel(String channel)
- Specified by:
setChannel in interface QServerMBean
getChannel
public String getChannel()
- Specified by:
getChannel in interface QServerMBean
setMaxSessions
public void setMaxSessions(int maxSessions)
- Specified by:
setMaxSessions in interface QServerMBean
getMaxSessions
public int getMaxSessions()
- Specified by:
getMaxSessions in interface QServerMBean
setMinSessions
public void setMinSessions(int minSessions)
- Specified by:
setMinSessions in interface QServerMBean
getMinSessions
public int getMinSessions()
- Specified by:
getMinSessions in interface QServerMBean
setSocketFactory
public void setSocketFactory(String sFactory)
- Specified by:
setSocketFactory in interface QServerMBean
getSocketFactory
public String getSocketFactory()
- Specified by:
getSocketFactory in interface QServerMBean
getISOChannelNames
public String getISOChannelNames()
- Specified by:
getISOChannelNames in interface QServerMBean
getCountersAsString
public String getCountersAsString()
- Specified by:
getCountersAsString in interface QServerMBean
getCountersAsString
public String getCountersAsString(String isoChannelName)
- Specified by:
getCountersAsString in interface QServerMBean
notify
public void notify(Object key,
Object value)
- Description copied from interface:
SpaceListener
Called by Space implementation whenever an object
with the given key is being placed in the Space.
- Specified by:
notify in interface SpaceListener
- Parameters:
key - Object's keyvalue - Object's value
process
public boolean process(ISOSource source,
ISOMsg m)
- Specified by:
process in interface ISORequestListener
- Parameters:
source - source where you optionally can replym - the unmatched request
- Returns:
- true if request was handled by this listener
Copyright © 1998-2012 jPOS.org. All Rights Reserved.