You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ocaml/sdk-gen/java/autogen/xen-api/src/main/java/com/xensource/xenapi/Connection.java
-78Lines changed: 0 additions & 78 deletions
Original file line number
Diff line number
Diff line change
@@ -68,29 +68,6 @@ public Connection(JsonRpcClient jsonRpcClient) {
68
68
this.client = jsonRpcClient;
69
69
}
70
70
71
-
/**
72
-
* Creates a connection to a particular server using a given url. This object can then be passed
73
-
* in to any other API calls.
74
-
* <p>
75
-
* Note this constructor does NOT call Session.loginWithPassword; the programmer is responsible for calling it,
76
-
* passing the Connection as a parameter. No attempt to connect to the server is made until login is called.
77
-
* <p>
78
-
* When this constructor is used, a call to dispose() will do nothing. The programmer is responsible for manually
79
-
* logging out the Session.
80
-
*
81
-
* @param httpClient The HttpClient used to make calls, this will be used by the underlying {@link #client} for handling requests
82
-
* @param url The URL of the server to connect to. Should be of the form http(s)://host-url/jsonrpc or http(s)://host-url.
83
-
* @param requestTimeout The reply timeout for JSON-RPC calls in seconds
84
-
* @deprecated This constructor is deprecated. To set the {@code requestTimeout} please {@link #setRequestTimeout(int)}. You may also use the {@link com.xensource.xenapi.JsonRpcClient#setRequestTimeout(int)}
85
-
* method of this object's {@link #client}. This option is only advisable if you are managing your own {@link com.xensource.xenapi.JsonRpcClient} as the underlying
* Creates a connection to a particular server using a given url. This object can then be passed
96
73
* in to any other API calls.
@@ -110,31 +87,6 @@ public Connection(URL url) {
110
87
this.client = newJsonRpcClient(url);
111
88
}
112
89
113
-
/**
114
-
* Creates a connection to a particular server using a given url. This object can then be passed
115
-
* in to any other API calls.
116
-
* <p>
117
-
* Note this constructor does NOT call Session.loginWithPassword; the programmer is responsible for calling it,
118
-
* passing the Connection as a parameter. No attempt to connect to the server is made until login is called.
119
-
* <p>
120
-
* When this constructor is used, a call to dispose() will do nothing. The programmer is responsible for manually
121
-
* logging out the Session.
122
-
*
123
-
* @param url The URL of the server to connect to. Should be of the form http(s)://host-url/jsonrpc or http(s)://host-url.
124
-
* @param requestTimeout The reply timeout for JSON-RPC calls in seconds
125
-
* @param connectionTimeout The connection timeout for JSON-RPC calls in seconds
126
-
* @deprecated This constructor is deprecated. To set {@code requestTimeout} or {@code connectionTimeout} please use {@link #setRequestTimeout(int)} or {@link #setConnectionTimeout(int)} respectively.
127
-
* You may also use the {@link com.xensource.xenapi.JsonRpcClient#setRequestTimeout(int)} method of this object's {@link #client}.
128
-
* This option is only advisable if you are managing your own {@link com.xensource.xenapi.JsonRpcClient} as the underlying
* Creates a connection to a particular server using a given url. This object can then be passed
140
92
* in to any other API calls.
@@ -159,36 +111,6 @@ public Connection(URL url, String sessionReference) {
159
111
this.sessionReference = sessionReference;
160
112
}
161
113
162
-
/**
163
-
* Creates a connection to a particular server using a given url. This object can then be passed
164
-
* in to any other API calls.
165
-
* <p>
166
-
* Note this constructor does NOT call Session.loginWithPassword; the programmer is responsible for calling it,
167
-
* passing the Connection as a parameter. No attempt to connect to the server is made until login is called.
168
-
* <p>
169
-
* When this constructor is used, a call to dispose() will do nothing. The programmer is responsible for manually
170
-
* logging out the Session.
171
-
*
172
-
* @param url The URL of the server to connect to. Should be of the form http(s)://host-url/jsonrpc or http(s)://host-url.
173
-
* @param sessionReference A reference to a logged-in Session. Any method calls on this Connection will use it.
174
-
* This constructor does not call Session.loginWithPassword, and dispose() on the resulting
175
-
* Connection object does not call Session.logout. The programmer is responsible for
176
-
* ensuring the Session is logged in and out correctly.
177
-
* @param requestTimeout The reply timeout for JSON-RPC calls in seconds
178
-
* @param connectionTimeout The connection timeout for JSON-RPC calls in seconds
179
-
* @deprecated This constructor is deprecated. To set {@code requestTimeout} or {@code connectionTimeout} please use {@link #setRequestTimeout(int)} or {@link #setConnectionTimeout(int)} respectively.
180
-
* You may also use the {@link com.xensource.xenapi.JsonRpcClient#setRequestTimeout(int)} method of this object's {@link #client}.
181
-
* This option is only advisable if you are managing your own {@link com.xensource.xenapi.JsonRpcClient} as the underlying
0 commit comments