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(ActiveMQBuffer buffer) |
void |
encode(ActiveMQBuffer 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 EncodingSupportpublic void encode(ActiveMQBuffer buffer)
encode in interface EncodingSupportpublic void decode(ActiveMQBuffer buffer)
decode in interface EncodingSupportCopyright © 2020 The Apache Software Foundation. All rights reserved.