public interface Protocol
This interface is used to define protocols that encapsulate sequences of datagrams into streams.
Note that implementations of this interface are supposed to be stateless.
The decoding is handled by ProtocolDecoder
implementations which
are statefull.
Modifier and Type | Method and Description |
---|---|
ProtocolDecoder |
createProtocolDecoder()
Create a new protocol decoder for this protocol implementation.
|
void |
init(org.apache.axis2.description.ParameterInclude paramInclude)
Initialize this protocol implementation using a given set of
parameters.
|
void init(org.apache.axis2.description.ParameterInclude paramInclude) throws org.apache.axis2.AxisFault
paramInclude
- the set of parameters to useorg.apache.axis2.AxisFault
- if the protocol implementation failed to initializeProtocolDecoder createProtocolDecoder()
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.