org.mpisws.p2p.transport.priority
Class MessageInfoImpl

java.lang.Object
  extended by org.mpisws.p2p.transport.priority.MessageInfoImpl
All Implemented Interfaces:
MessageInfo

public class MessageInfoImpl
extends Object
implements MessageInfo


Constructor Summary
MessageInfoImpl(ByteBuffer message, Map<String,Object> options, int priority)
           
 
Method Summary
 ByteBuffer getMessage()
           
 Map<String,Object> getOptions()
           
 int getPriroity()
           
 int getSize()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageInfoImpl

public MessageInfoImpl(ByteBuffer message,
                       Map<String,Object> options,
                       int priority)
Method Detail

getMessage

public ByteBuffer getMessage()
Specified by:
getMessage in interface MessageInfo

getOptions

public Map<String,Object> getOptions()
Specified by:
getOptions in interface MessageInfo

getPriroity

public int getPriroity()
Specified by:
getPriroity in interface MessageInfo

getSize

public int getSize()
Specified by:
getSize in interface MessageInfo


Copyright © 2010. All Rights Reserved.