public class QServer extends QBeanSupport implements QServerMBean, SpaceListener, ISORequestListener
| Modifier and Type | Field and Description |
|---|---|
protected LocalSpace |
sp |
cfg, log, scheduledThreadPoolExecutor| Constructor and Description |
|---|
QServer() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroyService() |
java.lang.String |
getChannel() |
java.lang.String |
getCountersAsString() |
java.lang.String |
getCountersAsString(java.lang.String isoChannelName) |
java.lang.String |
getISOChannelNames() |
ISOServer |
getISOServer() |
int |
getMaxSessions() |
int |
getMinSessions() |
java.lang.String |
getPackager() |
int |
getPort() |
java.lang.String |
getSocketFactory() |
void |
initService() |
void |
notify(java.lang.Object key,
java.lang.Object value)
Called by Space implementation whenever an object
with the given key is being placed in the Space.
|
boolean |
process(ISOSource source,
ISOMsg m) |
void |
setChannel(java.lang.String channel) |
void |
setMaxSessions(int maxSessions) |
void |
setMinSessions(int minSessions) |
void |
setPackager(java.lang.String packager) |
void |
setPort(int port) |
void |
setSocketFactory(java.lang.String sFactory) |
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, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDump, getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServerdestroy, getState, getStateAsString, init, start, stopgetPersist, isModifiedprotected LocalSpace sp
public void initService()
throws ConfigurationException
initService in class QBeanSupportConfigurationExceptionpublic void startService()
startService in class QBeanSupportpublic void stopService()
stopService in class QBeanSupportpublic void destroyService()
destroyService in class QBeanSupportpublic void setPort(int port)
setPort in interface QServerMBeanpublic int getPort()
getPort in interface QServerMBeanpublic void setPackager(java.lang.String packager)
setPackager in interface QServerMBeanpublic java.lang.String getPackager()
getPackager in interface QServerMBeanpublic void setChannel(java.lang.String channel)
setChannel in interface QServerMBeanpublic java.lang.String getChannel()
getChannel in interface QServerMBeanpublic void setMaxSessions(int maxSessions)
setMaxSessions in interface QServerMBeanpublic int getMaxSessions()
getMaxSessions in interface QServerMBeanpublic void setMinSessions(int minSessions)
setMinSessions in interface QServerMBeanpublic int getMinSessions()
getMinSessions in interface QServerMBeanpublic void setSocketFactory(java.lang.String sFactory)
setSocketFactory in interface QServerMBeanpublic java.lang.String getSocketFactory()
getSocketFactory in interface QServerMBeanpublic java.lang.String getISOChannelNames()
getISOChannelNames in interface QServerMBeanpublic ISOServer getISOServer()
public java.lang.String getCountersAsString()
getCountersAsString in interface QServerMBeanpublic java.lang.String getCountersAsString(java.lang.String isoChannelName)
getCountersAsString in interface QServerMBeanpublic void notify(java.lang.Object key,
java.lang.Object value)
SpaceListenerCalled by Space implementation whenever an object with the given key is being placed in the Space.
notify in interface SpaceListenerkey - Object's keyvalue - Object's valuepublic boolean process(ISOSource source, ISOMsg m)
process in interface ISORequestListenersource - source where you optionally can replym - the unmatched request