public class SipFramer extends Object
Constructor and Description |
---|
SipFramer() |
Modifier and Type | Method and Description |
---|---|
static boolean |
couldBeSipMessage(Buffer data)
Helper function that checks whether or not the data could be a SIP
message.
|
static SipMessage |
frame(Buffer buffer)
Frame the supplied buffer into a
SipMessage . |
public static SipMessage frame(Buffer buffer) throws IOException
SipMessage
. No deep analysis of
the message will be performed by this framer so there is no guarantee
that this SipMessage
is actually a well formed message.buffer
- SipMessage
IOException
public static boolean couldBeSipMessage(Buffer data) throws IOException
data
- IOException
Copyright © 2013. All Rights Reserved.