public static class VIEW_SYNC.ViewSyncHeader extends Header
| Modifier and Type | Field and Description |
|---|---|
static int |
VIEW_SYNC |
static int |
VIEW_SYNC_REQ |
| Constructor and Description |
|---|
VIEW_SYNC.ViewSyncHeader() |
VIEW_SYNC.ViewSyncHeader(int type,
View view) |
| Modifier and Type | Method and Description |
|---|---|
int |
getType() |
View |
getView() |
void |
readFrom(DataInputStream in)
Read the state of the current object (including superclasses) from instream
Note that the input stream must not be closed
|
int |
size()
To be implemented by subclasses.
|
String |
toString() |
void |
writeTo(DataOutputStream out)
Write the entire state of the current object (including superclasses) to outstream.
|
public static final int VIEW_SYNC
public static final int VIEW_SYNC_REQ
public VIEW_SYNC.ViewSyncHeader()
public VIEW_SYNC.ViewSyncHeader(int type,
View view)
public int getType()
public View getView()
public int size()
Headerpublic void writeTo(DataOutputStream out) throws IOException
StreamableIOExceptionpublic void readFrom(DataInputStream in) throws IOException, IllegalAccessException, InstantiationException
StreamableCopyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.