KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > mq > il > oil > OILServerILServiceMBean


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.oil;
8
9 /**
10  * MBean interface.
11  */

12 public interface OILServerILServiceMBean extends org.jboss.mq.il.ServerILJMXServiceMBean
13 {
14
15    /**
16     * Get the OIL server listening port
17     * @return Value of property serverBindPort.
18     */

19    int getServerBindPort();
20
21    /**
22     * Set the OIL server listening port
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     * Gets the socket read timeout.
54     * @return Returns the read timeout in milli-seconds
55     */

56    int getReadTimeout();
57
58    /**
59     * Sets the read time out.
60     * @param timeout The read time out in milli seconds
61     */

62    void setReadTimeout(int timeout);
63
64    /**
65     * Get the javax.net.SocketFactory implementation class to use on the client.
66     */

67    java.lang.String JavaDoc getClientSocketFactory();
68
69    /**
70     * Set the javax.net.SocketFactory implementation class to use on the client.
71     */

72    void setClientSocketFactory(java.lang.String JavaDoc name);
73
74    /**
75     * Set the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory.
76     */

77    void setServerSocketFactory(java.lang.String JavaDoc name) throws java.lang.Exception JavaDoc;
78
79    /**
80     * Get the javax.net.ServerSocketFactory implementation class to use to create the service SocketFactory.
81     */

82    java.lang.String JavaDoc getServerSocketFactory();
83
84    /**
85     * Set the security domain name to use with SSL aware socket factories
86     */

87    void setSecurityDomain(java.lang.String JavaDoc domainName);
88
89    /**
90     * Get the security domain name to use with SSL aware socket factories
91     */

92    java.lang.String JavaDoc getSecurityDomain();
93
94 }
95
Popular Tags