EldoS
MsgConnect home / Documentation / HttpTransportClient class
Navigation
Web site
Support
Table Of Contents

HttpTransportClient class

Properties     Methods     See also    


HttpTransportClient is a descendant of BaseTransport.

HttpTransportClient is used to send messages across network using HTTP protocol.

HttpTransportClient is used in Java2 ME 1.0 instead of HttpTransport class

Description

    HttpTransportClient can work only in client mode.     HttpTransportClient is a descendant of BaseTransport that transfers messages between computers using HTTP protocol. HttpTransportClient supports Transformer classes.
    HttpTransportClient is based on thread-per-connection scheme, so that each connection is handled in the separate thread. Threads can be reused by using a thread pool (set it's size with ThreadPoolSize property).

    Message address for HttpMessenger looks like
<Name>:<MessengerName>|<QueueName>

where

  • Name is the value of Name property of the transport. Default name for this transport is "HTTP";
  • MessengerName contains URL without http:// prefix (i.e. just address, port and document name) of the recipient transport as defined in recipient's MessengerAddress and MessengerPort properties;
  • QueueName is the name of the queue

Properties

  • AttemptsInterval
  • AttemptsToConnect
  • ClientThreadLimit
  • FailOnInactive
  • InactivityTime
  • ThreadPoolSize

    Inherited from BaseTransport

  • Active
  • Compressor
  • Encryptor
  • MaxMsgSize
  • MaxTimeout
  • Messenger
  • Name
  • Sealer

Methods

  • Create

See also:     Transport classes     HttpTransport class     BaseTransport class    

 
Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2005, EldoS Corporation