org.jboss.messaging.core.server.impl
Class ServerMessageImpl
java.lang.Object
org.jboss.messaging.core.message.impl.MessageImpl
org.jboss.messaging.core.server.impl.ServerMessageImpl
- All Implemented Interfaces:
- EncodingSupport, Message, ServerMessage
public class ServerMessageImpl
- extends MessageImpl
- implements ServerMessage
A ServerMessageImpl
- Author:
- Tim Fox
Methods inherited from class org.jboss.messaging.core.message.impl.MessageImpl |
containsProperty, decode, encode, encodeSize, getBody, getDestination, getExpiration, getPriority, getProperty, getPropertyNames, getTimestamp, getType, isDurable, isExpired, putBooleanProperty, putByteProperty, putBytesProperty, putDoubleProperty, putFloatProperty, putIntProperty, putLongProperty, putShortProperty, putStringProperty, removeProperty, setBody, setDestination, setDurable, setExpiration, setPriority, setTimestamp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.jboss.messaging.core.message.Message |
containsProperty, decode, encode, encodeSize, getBody, getDestination, getExpiration, getPriority, getProperty, getPropertyNames, getTimestamp, getType, isDurable, isExpired, putBooleanProperty, putByteProperty, putBytesProperty, putDoubleProperty, putFloatProperty, putIntProperty, putLongProperty, putShortProperty, putStringProperty, removeProperty, setBody, setDestination, setDurable, setExpiration, setPriority, setTimestamp |
ServerMessageImpl
public ServerMessageImpl()
ServerMessageImpl
public ServerMessageImpl(long messageID)
ServerMessageImpl
public ServerMessageImpl(ServerMessageImpl other)
ServerMessageImpl
public ServerMessageImpl(int type,
boolean durable,
long expiration,
long timestamp,
byte priority)
- Only used in testing
getMessageID
public long getMessageID()
- Specified by:
getMessageID
in interface ServerMessage
setMessageID
public void setMessageID(long id)
- Specified by:
setMessageID
in interface ServerMessage
getConnectionID
public long getConnectionID()
- Specified by:
getConnectionID
in interface ServerMessage
setConnectionID
public void setConnectionID(long connectionID)
- Specified by:
setConnectionID
in interface ServerMessage
createReference
public MessageReference createReference(Queue queue)
- Specified by:
createReference
in interface ServerMessage
getDurableRefCount
public int getDurableRefCount()
- Specified by:
getDurableRefCount
in interface ServerMessage
decrementDurableRefCount
public int decrementDurableRefCount()
- Specified by:
decrementDurableRefCount
in interface ServerMessage
incrementDurableRefCount
public int incrementDurableRefCount()
- Specified by:
incrementDurableRefCount
in interface ServerMessage
copy
public ServerMessage copy()
- Specified by:
copy
in interface ServerMessage
Copyright © 2006 JBoss Inc. All Rights Reserved.