startSession(InboundSequence sequence) Either creates a new Session for the
InboundSequence or returns one that has
already been created by the SC Pipe.
public RMServerTube(WSDLPort wsdlModel, WSEndpoint owner, Tube nextTube)(Code)
Constructor is passed everything available in PipelineAssembler.
Parameters: wsdlModel - The WSDLPort Parameters: owner - The WSEndpoint. Parameters: nextTube - The next Tube in the pipeline.
Terminates the session associated with the sequence if
RM owns the lifetime of the session.. i.e. If SC is not present.
Parameters: sequence - The InboundSequence
handleAckRequestedAction
public Packet handleAckRequestedAction(Packet inbound) throws RMException(Code)
handleCloseSequenceAction
public Packet handleCloseSequenceAction(Packet inbound) throws RMException(Code)
handleCreateSequenceAction
public Packet handleCreateSequenceAction(Packet packet) throws RMException(Code)
handleLastMessageAction
public Packet handleLastMessageAction(Packet inbound) throws RMException(Code)
handleMakeConnectionAction
public Packet handleMakeConnectionAction(Packet packet) throws RMException(Code)
handleProtocolMessage
public Packet handleProtocolMessage(Packet packet) throws RMException(Code)
Handle a non-Application message. Look at the wsa:Action header and if it is
one mapped to a handler in our actionHandlers dispatch table, invoke the handler.
Parameters: packet - The Packet containing the incoming message The Packet returned by invocation of the handlernull if no handler is registered throws: RMException - - if any thrown by the handler.
handleSequenceAcknowledgementAction
public Packet handleSequenceAcknowledgementAction(Packet inbound) throws RMException(Code)
Handles a raw SequenceAcknowledgement
handleTerminateSequenceAction
public Packet handleTerminateSequenceAction(Packet packet) throws RMException(Code)
Sets the session and session id properties in a request packet
if necessary. This will be the case if SC has not already done
so.
Parameters: packet - The packet. Parameters: seq - The sequence to which the request message belongs.
Either creates a new Session for the
InboundSequence or returns one that has
already been created by the SC Pipe.
Parameters: sequence - The InboundSequence The Session