|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mx.util.JBossNotificationBroadcasterSupport org.jboss.system.ServiceMBeanSupport org.jboss.mq.il.ServerILJMXService org.jboss.mq.il.uil2.UILServerILService
This is the server side MBean for the UIL2 transport layer.
Field Summary |
Fields inherited from class org.jboss.mq.il.ServerILJMXService |
clientID, connectionFactoryJNDIRef, pingPeriod, xaConnectionFactoryJNDIRef |
Fields inherited from class org.jboss.system.ServiceMBeanSupport |
log, SERVICE_CONTROLLER_SIG, serviceName |
Fields inherited from interface org.jboss.mq.il.uil2.msgs.MsgTypes |
m_acknowledge, m_addMessage, m_authenticate, m_browse, m_checkID, m_checkUser, m_close, m_connectionClosing, m_createQueue, m_createTopic, m_deleteTemporaryDestination, m_destroySubscription, m_getID, m_getTemporaryQueue, m_getTemporaryTopic, m_ping, m_pong, m_receive, m_receiveRequest, m_setEnabled, m_setSpyDistributedConnection, m_subscribe, m_transact, m_unsubscribe |
Fields inherited from interface org.jboss.system.ServiceMBean |
CREATE_EVENT, CREATED, DESTROY_EVENT, DESTROYED, FAILED, REGISTERED, START_EVENT, STARTED, STARTING, states, STOP_EVENT, STOPPED, STOPPING, UNREGISTERED |
Constructor Summary | |
UILServerILService()
|
Method Summary | |
String |
getBindAddress()
Get the interface address the OIL server bind its listening port on |
int |
getBufferSize()
Gets the buffer size. |
int |
getChunkSize()
Gets the chunk size. |
InetAddress |
getClientAddress()
Get the interface address the OIL server bind its listening port on |
Properties |
getClientConnectionProperties()
Used to construct the GenericConnectionFactory (bindJNDIReferences() builds it) Sets up the connection properties need by a client to use this IL |
String |
getClientSocketFactory()
Get the javax.net.SocketFactory implementation class to use on the client. |
boolean |
getEnableTcpNoDelay()
Gets the enableTcpNoDelay. |
int |
getReadTimeout()
Gets the socket read timeout. |
String |
getSecurityDomain()
Get the security domain name to use with SSL aware socket factories |
int |
getServerBindPort()
Get the UIL server listening port |
ServerIL |
getServerIL()
Used to construct the GenericConnectionFactory (bindJNDIReferences() builds it) |
String |
getServerSocketFactory()
Get the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory. |
void |
run()
Client socket accept thread. |
void |
setBindAddress(String host)
Set the interface address the OIL server bind its listening port on |
void |
setBufferSize(int size)
Sets the buffer size. |
void |
setChunkSize(int size)
Sets the chunk size. |
void |
setClientAddress(InetAddress addr)
Set the interface address the OIL server bind its listening port on |
void |
setClientSocketFactory(String name)
Set the javax.net.SocketFactory implementation class to use on the client. |
void |
setEnableTcpNoDelay(boolean enableTcpNoDelay)
Sets the enableTcpNoDelay. |
void |
setReadTimeout(int timeout)
Sets the read time out. |
void |
setSecurityDomain(String domainName)
Set the security domain name to use with SSL aware socket factories |
void |
setServerBindPort(int serverBindPort)
Set the UIL server listening port |
void |
setServerSocketFactory(String name)
Set the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory. |
void |
startService()
Starts this IL, and binds it to JNDI |
void |
stopService()
Stops this IL, and unbinds it from JNDI |
Methods inherited from class org.jboss.mq.il.ServerILJMXService |
bindJNDIReferences, getClientID, getConnectionFactoryJNDIRef, getJBossMQService, getPingPeriod, getXAConnectionFactoryJNDIRef, lookupJMSServer, rebind, setClientID, setConnectionFactoryJNDIRef, setInvoker, setPingPeriod, setXAConnectionFactoryJNDIRef, unbindJNDIReferences |
Methods inherited from class org.jboss.system.ServiceMBeanSupport |
create, createService, destroy, destroyService, getLog, getName, getNextNotificationSequenceNumber, getObjectName, getServer, getServiceName, getState, getStateString, jbossInternalCreate, jbossInternalDescription, jbossInternalDestroy, jbossInternalLifecycle, jbossInternalStart, jbossInternalStop, postDeregister, postRegister, preDeregister, preRegister, start, stop |
Methods inherited from class org.jboss.mx.util.JBossNotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.mq.il.ServerILJMXServiceMBean |
getClientID, getConnectionFactoryJNDIRef, getJBossMQService, getPingPeriod, getXAConnectionFactoryJNDIRef, setClientID, setConnectionFactoryJNDIRef, setInvoker, setPingPeriod, setXAConnectionFactoryJNDIRef |
Methods inherited from interface org.jboss.system.ServiceMBean |
getName, getState, getStateString, jbossInternalLifecycle |
Methods inherited from interface org.jboss.system.Service |
create, destroy, start, stop |
Constructor Detail |
public UILServerILService()
Method Detail |
public Properties getClientConnectionProperties()
getClientConnectionProperties
in class ServerILJMXService
public ServerIL getServerIL()
getServerIL
in class ServerILJMXService
public void run()
public void startService() throws Exception
startService
in class ServerILJMXService
Exception
- Description of Exceptionpublic void stopService()
stopService
in class ServerILJMXService
public int getServerBindPort()
getServerBindPort
in interface UILServerILServiceMBean
public void setServerBindPort(int serverBindPort)
setServerBindPort
in interface UILServerILServiceMBean
serverBindPort
- New value of property serverBindPort.public String getBindAddress()
getBindAddress
in interface UILServerILServiceMBean
public void setBindAddress(String host) throws UnknownHostException
setBindAddress
in interface UILServerILServiceMBean
UnknownHostException
public InetAddress getClientAddress()
getClientAddress
in interface UILServerILServiceMBean
public void setClientAddress(InetAddress addr)
setClientAddress
in interface UILServerILServiceMBean
public boolean getEnableTcpNoDelay()
getEnableTcpNoDelay
in interface UILServerILServiceMBean
public void setEnableTcpNoDelay(boolean enableTcpNoDelay)
setEnableTcpNoDelay
in interface UILServerILServiceMBean
enableTcpNoDelay
- The enableTcpNoDelay to setpublic int getBufferSize()
getBufferSize
in interface UILServerILServiceMBean
public void setBufferSize(int size)
setBufferSize
in interface UILServerILServiceMBean
size
- the buffer sizepublic int getChunkSize()
getChunkSize
in interface UILServerILServiceMBean
public void setChunkSize(int size)
setChunkSize
in interface UILServerILServiceMBean
size
- the chunk sizepublic int getReadTimeout()
getReadTimeout
in interface UILServerILServiceMBean
public void setReadTimeout(int timeout)
setReadTimeout
in interface UILServerILServiceMBean
timeout
- The read time out in milli secondspublic String getClientSocketFactory()
getClientSocketFactory
in interface UILServerILServiceMBean
public void setClientSocketFactory(String name)
setClientSocketFactory
in interface UILServerILServiceMBean
public void setServerSocketFactory(String name) throws Exception
setServerSocketFactory
in interface UILServerILServiceMBean
Exception
public String getServerSocketFactory()
getServerSocketFactory
in interface UILServerILServiceMBean
public void setSecurityDomain(String domainName)
setSecurityDomain
in interface UILServerILServiceMBean
public String getSecurityDomain()
getSecurityDomain
in interface UILServerILServiceMBean
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |