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
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
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
-
-