org.mobicents.protocols.mgcp.stack
Class MessageHandler
java.lang.Object
org.mobicents.protocols.mgcp.stack.MessageHandler
public class MessageHandler
- extends Object
- Author:
- Oleg Kulikov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageHandler
public MessageHandler(JainMgcpStackImpl jainMgcpStackImpl)
- Creates a new instance of MessageHandler
piggyDismount
public static String[] piggyDismount(byte[] msgBuffer,
int length)
- RFC 3435, $3.5.5: split piggy backed messages again
Messages within the packet are split on their separator "EOL DOT EOL".
- Parameters:
packet - the packet to split
- Returns:
- array of all separate messages
isRequest
public boolean isRequest(String header)
scheduleMessages
public void scheduleMessages(PacketRepresentation pr)
Copyright © 2012 TeleStax, Inc.. All Rights Reserved.