public class ServiceInfo extends Object implements Externalizable, Streamable
| Modifier and Type | Field and Description |
|---|---|
static byte |
ACK |
static byte |
LIST_SERVICES_RSP |
static byte |
SERVICE_DOWN |
static byte |
SERVICE_UP |
static byte |
SERVICES_MERGED |
| Constructor and Description |
|---|
ServiceInfo() |
ServiceInfo(byte type,
String service,
Address host,
byte[] state) |
| Modifier and Type | Method and Description |
|---|---|
void |
readExternal(ObjectInput in) |
void |
readFrom(DataInputStream in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
long |
size() |
String |
toString() |
static String |
typeToString(int t) |
void |
writeExternal(ObjectOutput out) |
void |
writeTo(DataOutputStream out)
Write the entire state of the current object (including superclasses) to outstream.
|
public static final byte SERVICE_UP
public static final byte SERVICE_DOWN
public static final byte LIST_SERVICES_RSP
public static final byte ACK
public static final byte SERVICES_MERGED
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic long size()
public void writeTo(DataOutputStream out) throws IOException
StreamablewriteTo in interface StreamableIOExceptionpublic void readFrom(DataInputStream in) throws IOException, IllegalAccessException, InstantiationException
StreamablereadFrom in interface StreamableIOExceptionIllegalAccessExceptionInstantiationExceptionpublic static String typeToString(int t)
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.