Websphere MQ Everyplace

com.ibm.mqe.adapters
Class MQeTcpipHistoryAdapter

java.lang.Object
  |
  +--com.ibm.mqe.adapters.MQeCommunicationsAdapter
        |
        +--com.ibm.mqe.adapters.MQeTcpipAdapter
              |
              +--com.ibm.mqe.adapters.MQeTcpipLengthAdapter
                    |
                    +--com.ibm.mqe.adapters.MQeTcpipHistoryAdapter

public class MQeTcpipHistoryAdapter
extends MQeTcpipLengthAdapter

MQeTcpipHistoryAdapter provides an extra protocol layer on top of MQeTcpipLengthAdapter that supports persistent socket connections and the ability to encode recently used data in a shortened form. Because of this, the MQeTcpipHistoryAdapter is a highly efficient communications mechanism in terms of general packet size.

History works by looking for repeated writes and replacing them with a sub-code and index number. Care needs to be used if channel level encryption and/or compression with as it's unlikely that it will be able match the buffers if the encryption keys change etc...

This class is a descendant of MQeTcpipLengthAdapter class. All usual adapter operations that are not listed here, use the implementation provided by this super-class.

See Also:
MQeTcpipAdapter, MQeTcpipLengthAdapter

Field Summary
 
Fields inherited from class com.ibm.mqe.adapters.MQeCommunicationsAdapter
COMMS_ADAPTER_ADDRESS, COMMS_ADAPTER_CLASS, COMMS_ADAPTER_GROUP_SIZE, COMMS_ADAPTER_HTTP_VERSION, COMMS_ADAPTER_LISTEN, COMMS_ADAPTER_NONBLOCKING_TIMEOUT, COMMS_ADAPTER_NOPERSIST, COMMS_ADAPTER_PERSIST, COMMS_ADAPTER_PKTSIZE, COMMS_ADAPTER_PORT, COMMS_ADAPTER_RETRIES, COMMS_ADAPTER_SERVLET, COMMS_ADAPTER_TIMEOUT, COMMS_ADAPTER_VARIANCE, listeningAdapter, persistentAdapter, responderAdapter
 
Constructor Summary
MQeTcpipHistoryAdapter()
           
 
Methods inherited from class com.ibm.mqe.adapters.MQeTcpipLengthAdapter
activate, read, writeData, writeResponse
 
Methods inherited from class com.ibm.mqe.adapters.MQeTcpipAdapter
close, open, readLength, readln, temporaryClose, waitForContact
 
Methods inherited from class com.ibm.mqe.adapters.MQeCommunicationsAdapter
createNewAdapter, isStopDemanded, isStopRequested
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MQeTcpipHistoryAdapter

public MQeTcpipHistoryAdapter()

Websphere MQ Everyplace