public class XMPPProtocol extends Object implements Protocol<XMPPPacket>
| Constructor and Description |
|---|
XMPPProtocol() |
| Modifier and Type | Method and Description |
|---|---|
StreamContext |
getStreamContext() |
void |
inforceInbound(XMPPPacket packet)
Checks if the packet complies to the protocol semantics assuming the
packet as been received remote host
|
void |
infourceOutbound(XMPPPacket packet)
Checks if the packet complies to the protocol semantics
|
void |
setStreamContext(StreamContext streamContext) |
public StreamContext getStreamContext()
public void setStreamContext(StreamContext streamContext)
public void inforceInbound(XMPPPacket packet) throws Exception
ProtocolinforceInbound in interface Protocol<XMPPPacket>packet - packetException - exceptionpublic void infourceOutbound(XMPPPacket packet) throws Exception
ProtocolinfourceOutbound in interface Protocol<XMPPPacket>packet - outbound packetException - exceptionCopyright © 2019. All rights reserved.