KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > mq > il > oil2 > OIL2ServerILServiceMBean


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7 package org.jboss.mq.il.oil2;
8
9 /**
10  * MBean interface.
11  */

12 public interface OIL2ServerILServiceMBean extends org.jboss.mq.il.ServerILJMXServiceMBean
13 {
14
15    /**
16     * Getter for property serverBindPort.
17     * @return Value of property serverBindPort.
18     */

19    int getServerBindPort();
20
21    /**
22     * Setter for property serverBindPort.
23     * @param serverBindPort New value of property serverBindPort.
24     */

25    void setServerBindPort(int serverBindPort);
26
27    /**
28     * Get the interface address the OIL server bind its listening port on.
29     * @return The hostname or dotted decimal address that the service is bound to.
30     */

31    java.lang.String JavaDoc getBindAddress();
32
33    /**
34     * Set the interface address the OIL server bind its listening port on.
35     * @param host The host address to bind to, if any.
36     * @throws java.net.UnknownHostException Thrown if the hostname cannot be resolved to an InetAddress object.
37     */

38    void setBindAddress(java.lang.String JavaDoc host) throws java.net.UnknownHostException JavaDoc;
39
40    /**
41     * Gets the enableTcpNoDelay.
42     * @return Returns a boolean
43     */

44    boolean getEnableTcpNoDelay();
45
46    /**
47     * Sets the enableTcpNoDelay.
48     * @param enableTcpNoDelay The enableTcpNoDelay to set
49     */

50    void setEnableTcpNoDelay(boolean enableTcpNoDelay);
51
52    /**
53     * Get the javax.net.SocketFactory implementation class to use on the client.
54     */

55    java.lang.String JavaDoc getClientSocketFactory();
56
57    /**
58     * Set the javax.net.SocketFactory implementation class to use on the client.
59     */

60    void setClientSocketFactory(java.lang.String JavaDoc name);
61
62    /**
63     * Set the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory.
64     */

65    void setServerSocketFactory(java.lang.String JavaDoc name) throws java.lang.Exception JavaDoc;
66
67    /**
68     * Get the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory.
69     */

70    java.lang.String JavaDoc getServerSocketFactory();
71
72    /**
73     * Set the security domain name to use with SSL aware socket factories
74     */

75    void setSecurityDomain(java.lang.String JavaDoc domainName);
76
77    /**
78     * Get the security domain name to use with SSL aware socket factories
79     */

80    java.lang.String JavaDoc getSecurityDomain();
81
82 }
83
Popular Tags