01: /*
02: * JBoss, Home of Professional Open Source.
03: * Copyright 2006, Red Hat Middleware LLC, and individual contributors
04: * as indicated by the @author tags. See the copyright.txt file in the
05: * distribution for a full listing of individual contributors.
06: *
07: * This is free software; you can redistribute it and/or modify it
08: * under the terms of the GNU Lesser General Public License as
09: * published by the Free Software Foundation; either version 2.1 of
10: * the License, or (at your option) any later version.
11: *
12: * This software is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: *
17: * You should have received a copy of the GNU Lesser General Public
18: * License along with this software; if not, write to the Free
19: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
20: * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
21: */
22: package org.jboss.mq.il.oil2;
23:
24: /**
25: * MBean interface.
26: */
27: public interface OIL2ServerILServiceMBean extends
28: org.jboss.mq.il.ServerILJMXServiceMBean {
29:
30: /**
31: * Getter for property serverBindPort.
32: * @return Value of property serverBindPort.
33: */
34: int getServerBindPort();
35:
36: /**
37: * Setter for property serverBindPort.
38: * @param serverBindPort New value of property serverBindPort.
39: */
40: void setServerBindPort(int serverBindPort);
41:
42: /**
43: * Get the interface address the OIL server bind its listening port on.
44: * @return The hostname or dotted decimal address that the service is bound to.
45: */
46: java.lang.String getBindAddress();
47:
48: /**
49: * Set the interface address the OIL server bind its listening port on.
50: * @param host The host address to bind to, if any.
51: * @throws java.net.UnknownHostException Thrown if the hostname cannot be resolved to an InetAddress object.
52: */
53: void setBindAddress(java.lang.String host)
54: throws java.net.UnknownHostException;
55:
56: /**
57: * Gets the enableTcpNoDelay.
58: * @return Returns a boolean
59: */
60: boolean getEnableTcpNoDelay();
61:
62: /**
63: * Sets the enableTcpNoDelay.
64: * @param enableTcpNoDelay The enableTcpNoDelay to set
65: */
66: void setEnableTcpNoDelay(boolean enableTcpNoDelay);
67:
68: /**
69: * Get the javax.net.SocketFactory implementation class to use on the client.
70: */
71: java.lang.String getClientSocketFactory();
72:
73: /**
74: * Set the javax.net.SocketFactory implementation class to use on the client.
75: */
76: void setClientSocketFactory(java.lang.String name);
77:
78: /**
79: * Set the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory.
80: */
81: void setServerSocketFactory(java.lang.String name)
82: throws java.lang.Exception;
83:
84: /**
85: * Get the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory.
86: */
87: java.lang.String getServerSocketFactory();
88:
89: /**
90: * Set the security domain name to use with SSL aware socket factories
91: */
92: void setSecurityDomain(java.lang.String domainName);
93:
94: /**
95: * Get the security domain name to use with SSL aware socket factories
96: */
97: java.lang.String getSecurityDomain();
98:
99: }
|