org.jpos.q2.iso
Class MultiSessionChannelAdaptor

java.lang.Object
  extended by org.jpos.q2.QBeanSupport
      extended by org.jpos.q2.iso.ChannelAdaptor
          extended by org.jpos.q2.iso.MultiSessionChannelAdaptor
All Implemented Interfaces:
Configurable, Channel, ChannelAdaptorMBean, MultiSessionChannelAdaptorMBean, QBean, QBeanSupportMBean, QPersist, Loggeable

public class MultiSessionChannelAdaptor
extends ChannelAdaptor
implements MultiSessionChannelAdaptorMBean, Channel, Loggeable

Since:
1.8.5
Author:
apr

Nested Class Summary
 class MultiSessionChannelAdaptor.Receiver
           
 class MultiSessionChannelAdaptor.Sender
           
 
Field Summary
 
Fields inherited from class org.jpos.q2.QBeanSupport
cfg, log
 
Fields inherited from interface org.jpos.q2.QBean
DESTROYED, FAILED, STARTED, STARTING, stateString, STOPPED, STOPPING
 
Constructor Summary
MultiSessionChannelAdaptor()
           
 
Method Summary
 int getSessions()
           
 void initService()
           
protected  void initSpaceAndQueues()
           
 void setSessions(int sessions)
           
 void startService()
           
 
Methods inherited from class org.jpos.q2.iso.ChannelAdaptor
addFilters, append, checkConnection, destroyService, disconnect, dump, getConnectsCounter, getCountersAsString, getHost, getIdleTimeInMillis, getInQueue, getLastTxnTimestampInMillis, getOutQueue, getPort, getReconnectDelay, getRXCounter, getSocketFactory, getTXCounter, grabSpace, initChannel, isConnected, newChannel, receive, receive, resetCounters, send, send, setHost, setInQueue, setOutQueue, setPort, setReconnectDelay, setSocketFactory, stopService
 
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.iso.ChannelAdaptorMBean
getConnectsCounter, getCountersAsString, getHost, getIdleTimeInMillis, getInQueue, getLastTxnTimestampInMillis, getOutQueue, getPort, getReconnectDelay, getRXCounter, getSocketFactory, getTXCounter, isConnected, resetCounters, setHost, setInQueue, setOutQueue, setPort, setReconnectDelay, setSocketFactory
 
Methods inherited from interface org.jpos.q2.QBeanSupportMBean
getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServer, shutdownQ2
 
Methods inherited from interface org.jpos.q2.QBean
destroy, getState, getStateAsString, init, start, stop
 
Methods inherited from interface org.jpos.q2.QPersist
getPersist, isModified
 
Methods inherited from interface org.jpos.iso.Channel
receive, receive, send
 
Methods inherited from interface org.jpos.util.Loggeable
dump
 

Constructor Detail

MultiSessionChannelAdaptor

public MultiSessionChannelAdaptor()
Method Detail

initService

public void initService()
                 throws ConfigurationException
Overrides:
initService in class ChannelAdaptor
Throws:
ConfigurationException

startService

public void startService()
Overrides:
startService in class ChannelAdaptor

getSessions

public int getSessions()
Specified by:
getSessions in interface MultiSessionChannelAdaptorMBean

setSessions

public void setSessions(int sessions)
Specified by:
setSessions in interface MultiSessionChannelAdaptorMBean

initSpaceAndQueues

protected void initSpaceAndQueues()
                           throws ConfigurationException
Overrides:
initSpaceAndQueues in class ChannelAdaptor
Throws:
ConfigurationException


Copyright © 1998-2012 jPOS.org. All Rights Reserved.