Class SCMPCompositeSender

java.lang.Object
org.serviceconnector.scmp.SCMPMessage
org.serviceconnector.scmp.SCMPCompositeSender
All Implemented Interfaces:
Serializable

public class SCMPCompositeSender extends SCMPMessage
The Class SCMPCompositeSender. Used to handle outgoing large request/response. Works like an iterator and provides functionality of splitting large SCMP into parts.
Author:
JTraber
See Also:
  • Constructor Details

    • SCMPCompositeSender

      public SCMPCompositeSender(SCMPMessage message)
      Instantiates a new SCMPCompositeSender.
      Parameters:
      message - the scmp message
  • Method Details

    • getFirst

      public SCMPMessage getFirst()
      Gets the first part.
      Returns:
      the first
    • hasNext

      public boolean hasNext()
      Checks for next part.
      Returns:
      true, if successful
    • getNext

      public SCMPMessage getNext()
      Gets the next part.
      Returns:
      the next
    • getCurrentPart

      public SCMPMessage getCurrentPart()
      Returns:
      the currentPart