public class PersistedDestination extends Object implements EncodingSupport
Constructor and Description |
---|
PersistedDestination() |
PersistedDestination(PersistedType type,
String name) |
PersistedDestination(PersistedType type,
String name,
String selector,
boolean durable) |
Modifier and Type | Method and Description |
---|---|
void |
decode(HornetQBuffer buffer) |
void |
encode(HornetQBuffer buffer) |
int |
getEncodeSize() |
long |
getId() |
String |
getName() |
String |
getSelector() |
PersistedType |
getType() |
boolean |
isDurable() |
void |
setId(long id) |
public PersistedDestination()
public PersistedDestination(PersistedType type, String name)
public PersistedDestination(PersistedType type, String name, String selector, boolean durable)
public long getId()
public void setId(long id)
public String getName()
public PersistedType getType()
public String getSelector()
public boolean isDurable()
public int getEncodeSize()
getEncodeSize
in interface EncodingSupport
public void encode(HornetQBuffer buffer)
encode
in interface EncodingSupport
public void decode(HornetQBuffer buffer)
decode
in interface EncodingSupport
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.