public class DomainControllerData extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
host |
protected int |
port |
protected String |
protocol |
Constructor and Description |
---|
DomainControllerData() |
DomainControllerData(String protocol,
String host,
int port)
Create the DomainControllerData.
|
Modifier and Type | Method and Description |
---|---|
String |
getHost()
Gets the domain controller's host name.
|
int |
getPort()
Gets the domain controller's port number.
|
String |
getProtocol()
Gets the domain controller's protocol.
|
void |
readFrom(DataInput instream)
Read the domain controller's data from an input stream.
|
String |
toString() |
void |
writeTo(DataOutput outstream)
Write the domain controller's data to an output stream.
|
public String getHost()
public int getPort()
public String getProtocol()
public void writeTo(DataOutput outstream) throws Exception
outstream
- the output streamException
public void readFrom(DataInput instream) throws Exception
instream
- the input streamException
Copyright © 2023 JBoss by Red Hat. All rights reserved.