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

HttpTransport class

Properties     Methods     Events     See also    


HttpTransport is a descendant of InetTransport.

HttpTransport is used to send messages across network using HTTP protocol. With HttpTransport each message is sent using POST request.

For information about proxy support, see description of Proxy support in SocketTransport and HTTPTransport

[Java ME]
    HttpTransport is not available in Java ME 1.0.
See HttpTransportClient class instead.

Description

    HttpTransport is a descendant of InetTransport that transfers messages between computers using HTTP protocol. HttpTransport can act in client, server or peer-to-peer modes (use TransportMode property to specify the mode). HttpTransport supports Transformer classes.
    HttpTransport 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>
or
<Name>:<ClientID>|<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
  • ClientID can be used in server mode instead of MessengerName in case when client name is unknown.

Properties

  • UseProxy
  • ProxyAddress
  • ProxyPort
  • ReqTime

    Inherited from InetTransport

  • AttemptsInterval
  • AttemptsToConnect
  • ClientThreadLimit
  • FailOnInactive
  • InactivityTime
  • IncomingBufferSize
  • IncomingMemoryThreshold
  • IncomingSpeedLimit
  • MessengerAddress
  • MessengerPort
  • NoTransformerFallback
  • OutgoingBufferSize
  • OutgoingMemoryThreshold
  • OutgoingSpeedLimit
  • ReuseServerPort
  • RoutingAllowed
  • TempFilesFolder
  • ThreadPoolSize
  • TransportMode
  • UseTempFilesForIncoming
  • UseTempFilesForOutgoing
  • UseWebTunneling
  • WebTunnelAuthentication
  • WebTunnelPassword
  • WebTunnelPort
  • WebTunnelAddress
  • WebTunnelUserId

    Inherited from BaseTransport

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

Methods

  • Create
  • Destroy

    Inherited from InetTransport

  • GetIncomingConnectionCount
  • GetOutgoingConnectionCount
    Inherited from BaseTransport
  • GetOutgoingMessagesCount

Events

    Inherited from InetTransport

  • OnConnected
  • OnDisconnected

See also:     Transport classes     InetTransport class     BaseTransport class    

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