Subversion Repositories XServices

Rev

Rev 54 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
18 brianR 1
/*
2
 *   Copyright 2010 Brian Rosenberger (Brutex Network)
3
 *
4
 *   Licensed under the Apache License, Version 2.0 (the "License");
5
 *   you may not use this file except in compliance with the License.
6
 *   You may obtain a copy of the License at
7
 *
8
 *       http://www.apache.org/licenses/LICENSE-2.0
9
 *
10
 *   Unless required by applicable law or agreed to in writing, software
11
 *   distributed under the License is distributed on an "AS IS" BASIS,
12
 *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
 *   See the License for the specific language governing permissions and
14
 *   limitations under the License.
15
 */
16
 
17
package net.brutex.xservices.types;
18
 
19
import javax.xml.bind.annotation.XmlElement;
20
import javax.xml.bind.annotation.XmlType;
21
 
22
/**
23
 *
24
 * @author Brian Rosenberger, bru@brutex.de
25
 */
26
@XmlType(name="connection")
27
public class HostConnection {
28
 
29
    public HostConnection() {
30
    }
31
 
54 brianR 32
    @XmlElement(name="hostname", required=true, nillable=false)
18 brianR 33
    public String hostname;
34
 
35
    @XmlElement(name="port", required=false, nillable=false)
36
    public int port;
37
 
38
    @XmlElement(name="user", required=false, nillable=false)
39
    public String user;
40
 
41
    @XmlElement(name="password", required=false, nillable=false)
42
    public String password;
43
 
44
}