public class BulletinsPayload
extends java.lang.Object
| Constructor and Description |
|---|
BulletinsPayload() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<Bulletin> |
getBulletins() |
byte[] |
marshal() |
static void |
marshal(BulletinsPayload payload,
java.io.OutputStream os) |
void |
setBulletins(java.util.Set<Bulletin> bulletins) |
static BulletinsPayload |
unmarshal(byte[] bytes) |
static BulletinsPayload |
unmarshal(java.io.InputStream is) |
public java.util.Set<Bulletin> getBulletins()
public void setBulletins(java.util.Set<Bulletin> bulletins)
public byte[] marshal()
throws ProtocolException
ProtocolExceptionpublic static void marshal(BulletinsPayload payload, java.io.OutputStream os) throws ProtocolException
ProtocolExceptionpublic static BulletinsPayload unmarshal(java.io.InputStream is) throws ProtocolException
ProtocolExceptionpublic static BulletinsPayload unmarshal(byte[] bytes) throws ProtocolException
ProtocolException