|
||||||||||
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, 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 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, getJBossMQService, 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 ServerILJMXService
public ServerIL getServerIL()
getServerIL
in class ServerILJMXService
public void run()
run
in interface Runnable
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()
UILServerILServiceMBean
getClientAddress
in interface UILServerILServiceMBean
public void setClientAddress(InetAddress addr)
UILServerILServiceMBean
setClientAddress
in interface UILServerILServiceMBean
public String getConnectAddress()
getConnectAddress
in interface UILServerILServiceMBean
public void setConnectAddress(String addr)
setConnectAddress
in interface UILServerILServiceMBean
public int getConnectPort()
getConnectPort
in interface UILServerILServiceMBean
public void setConnectPort(int port)
setConnectPort
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()
UILServerILServiceMBean
getReadTimeout
in interface UILServerILServiceMBean
public void setReadTimeout(int timeout)
UILServerILServiceMBean
setReadTimeout
in interface UILServerILServiceMBean
timeout
- The read time out in milli secondspublic int getClientReadTimeout()
UILServerILServiceMBean
getClientReadTimeout
in interface UILServerILServiceMBean
public void setClientReadTimeout(int timeout)
UILServerILServiceMBean
setClientReadTimeout
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 |