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 EncodingSupport
public void encode(ActiveMQBuffer buffer)
encode
in interface EncodingSupport
public void decode(ActiveMQBuffer buffer)
decode
in interface EncodingSupport
Copyright © 2017 JBoss by Red Hat. All rights reserved.