|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.mx.util.JBossNotificationBroadcasterSupport
org.jboss.system.ServiceMBeanSupport
org.jboss.mq.il.ServerILJMXService
org.jboss.mq.il.uil2.UILServerILService
public class 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, jmsServer, pingPeriod, xaConnectionFactoryJNDIRef |
| Fields inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
log, server, 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_recover, 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 UIL2 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 UIL2 exposed to the client as the server address |
Properties |
getClientConnectionProperties()
Used to construct the GenericConnectionFactory (bindJNDIReferences() builds it) Sets up the connection properties need by a client to use this IL |
int |
getClientReadTimeout()
Gets the client socket read timeout. |
String |
getClientSocketFactory()
Get the javax.net.SocketFactory implementation class to use on the client. |
String |
getConnectAddress()
|
int |
getConnectPort()
|
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 UIL2 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 UIL2 exposed to the client as the server address |
void |
setClientReadTimeout(int timeout)
Sets the read time out. |
void |
setClientSocketFactory(String name)
Set the javax.net.SocketFactory implementation class to use on the client. |
void |
setConnectAddress(String addr)
|
void |
setConnectPort(int port)
|
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, getInitialContext, getJBossMQService, getJMSServer, getPingPeriod, getXAConnectionFactoryJNDIRef, lookupJMSServer, rebind, setClientID, setConnectionFactoryJNDIRef, setInvoker, setPingPeriod, setXAConnectionFactoryJNDIRef, unbindJNDIReferences |
| Methods inherited from class org.jboss.system.ServiceMBeanSupport |
|---|
create, createService, destroy, destroyService, getDeploymentInfo, 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, nextNotificationSequenceNumber, 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 ServerILJMXServicepublic ServerIL getServerIL()
getServerIL in class ServerILJMXServicepublic void run()
run in interface Runnable
public void startService()
throws Exception
startService in class ServerILJMXServiceException - Description of Exceptionpublic void stopService()
stopService in class ServerILJMXServicepublic int getServerBindPort()
getServerBindPort in interface UILServerILServiceMBeanpublic void setServerBindPort(int serverBindPort)
setServerBindPort in interface UILServerILServiceMBeanserverBindPort - New value of property serverBindPort.public String getBindAddress()
getBindAddress in interface UILServerILServiceMBean
public void setBindAddress(String host)
throws UnknownHostException
setBindAddress in interface UILServerILServiceMBeanUnknownHostExceptionpublic InetAddress getClientAddress()
UILServerILServiceMBean
getClientAddress in interface UILServerILServiceMBeanpublic void setClientAddress(InetAddress addr)
UILServerILServiceMBean
setClientAddress in interface UILServerILServiceMBeanpublic String getConnectAddress()
getConnectAddress in interface UILServerILServiceMBeanpublic void setConnectAddress(String addr)
setConnectAddress in interface UILServerILServiceMBeanpublic int getConnectPort()
getConnectPort in interface UILServerILServiceMBeanpublic void setConnectPort(int port)
setConnectPort in interface UILServerILServiceMBeanpublic boolean getEnableTcpNoDelay()
getEnableTcpNoDelay in interface UILServerILServiceMBeanpublic void setEnableTcpNoDelay(boolean enableTcpNoDelay)
setEnableTcpNoDelay in interface UILServerILServiceMBeanenableTcpNoDelay - The enableTcpNoDelay to setpublic int getBufferSize()
getBufferSize in interface UILServerILServiceMBeanpublic void setBufferSize(int size)
setBufferSize in interface UILServerILServiceMBeansize - the buffer sizepublic int getChunkSize()
getChunkSize in interface UILServerILServiceMBeanpublic void setChunkSize(int size)
setChunkSize in interface UILServerILServiceMBeansize - the chunk sizepublic int getReadTimeout()
UILServerILServiceMBean
getReadTimeout in interface UILServerILServiceMBeanpublic void setReadTimeout(int timeout)
UILServerILServiceMBean
setReadTimeout in interface UILServerILServiceMBeantimeout - The read time out in milli secondspublic int getClientReadTimeout()
UILServerILServiceMBean
getClientReadTimeout in interface UILServerILServiceMBeanpublic void setClientReadTimeout(int timeout)
UILServerILServiceMBean
setClientReadTimeout in interface UILServerILServiceMBeantimeout - The read time out in milli secondspublic String getClientSocketFactory()
getClientSocketFactory in interface UILServerILServiceMBeanpublic void setClientSocketFactory(String name)
setClientSocketFactory in interface UILServerILServiceMBean
public void setServerSocketFactory(String name)
throws Exception
setServerSocketFactory in interface UILServerILServiceMBeanExceptionpublic String getServerSocketFactory()
getServerSocketFactory in interface UILServerILServiceMBeanpublic void setSecurityDomain(String domainName)
setSecurityDomain in interface UILServerILServiceMBeanpublic String getSecurityDomain()
getSecurityDomain in interface UILServerILServiceMBean
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||