Interface Protocol
- All Known Implementing Classes:
EndDelimitedProtocol
public interface Protocol
Datagram stream protocol implementation.
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.
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new protocol decoder for this protocol implementation.voidinit(org.apache.axis2.description.ParameterInclude paramInclude) Initialize this protocol implementation using a given set of parameters.
-
Method Details
-
init
void init(org.apache.axis2.description.ParameterInclude paramInclude) throws org.apache.axis2.AxisFault Initialize this protocol implementation using a given set of parameters.- Parameters:
paramInclude- the set of parameters to use- Throws:
org.apache.axis2.AxisFault- if the protocol implementation failed to initialize
-
createProtocolDecoder
ProtocolDecoder createProtocolDecoder()Create a new protocol decoder for this protocol implementation.- Returns:
- the protocol decoder
-