org.siprop.v2.core.messge.impl
Class MessageContextInfoImpl

java.lang.Object
  extended by org.siprop.v2.core.messge.AbstractInfo
      extended by org.siprop.v2.core.messge.impl.MessageContextInfoImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Info, Message, MessageContextInfo

public class MessageContextInfoImpl
extends AbstractInfo
implements MessageContextInfo

Info for MessageContextImpl.

Author:
noritsuna
See Also:
Serialized Form

Constructor Summary
MessageContextInfoImpl()
          Constructor.
 
Method Summary
 void addPacket(Packet packet)
          add Packet.
 Packet getPacket(boolean isNextStep)
          get Packet.
isNextStep In the case of true , gotten Packet is deleted from list.
 boolean isPacketEnd()
          Are all the Packet(s) ending with transmitting or not?
 
Methods inherited from class org.siprop.v2.core.messge.AbstractInfo
getCurrentPacket, getOriginalPacket, setCurrentPacket, setOriginalPacket
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.siprop.v2.core.messge.Info
getCurrentPacket, getOriginalPacket, setCurrentPacket, setOriginalPacket
 

Constructor Detail

MessageContextInfoImpl

public MessageContextInfoImpl()
Constructor.

Method Detail

getPacket

public Packet getPacket(boolean isNextStep)
Description copied from interface: Info
get Packet.
isNextStep In the case of true , gotten Packet is deleted from list.

Specified by:
getPacket in interface Info
Overrides:
getPacket in class AbstractInfo
Returns:
current Packet

addPacket

public void addPacket(Packet packet)
Description copied from interface: Info
add Packet.

Specified by:
addPacket in interface Info
Overrides:
addPacket in class AbstractInfo

isPacketEnd

public boolean isPacketEnd()
Description copied from interface: MessageContextInfo
Are all the Packet(s) ending with transmitting or not?

Specified by:
isPacketEnd in interface MessageContextInfo
Returns:
end is true