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

SocketTransport class

Properties     Methods     See also    


SocketTransport is used to send messages across network using plain TCP packets.

Description

    SocketTransport is a descendant of InetTransport that transfers messages between computers using plain TCP packets. SocketTransport can act in client, server or peer-to-peer modes (use TransportMode property to specify the mode). SocketTransport automatically manages connections to remote hosts and supports Transformer classes.
    SocketTransport 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 SocketTransport looks like
<Name>:<MessengerName>|<QueueName>
where

  • Name is the value of Name property of the transport. Default name for this transport is "Socket";
  • MessengerName contains the address and port of the recipient transport as defined in recipient's MessengerAddress and MessengerPort properties;
  • QueueName is the name of the queue

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

Properties

    Inherited from InetTransport

  • AttemptsInterval
  • AttemptsToConnect
  • ClientThreadLimit
  • FailOnInactive
  • InactivityTime
  • IncomingBufferSize
  • IncomingMemoryThreshold
  • IncomingSpeedLimit
  • MessengerAddress
  • MessengerPort
  • NoTransformerFallback
  • OutgoingBufferSize
  • OutgoingMemoryThreshold
  • OutgoingSpeedLimit
  • ReuseServerPort
  • RoutingAllowed
  • TempFilesFolder
  • ThreadPoolSize
  • TransportMode
  • UseTempFilesForIncoming
  • UseTempFilesForOutgoing
  • SocksAuthentication
  • SocksPassword
  • SocksPort
  • SocksResolveAddress
  • SocksServer
  • SocksUsercode
  • UseSocks
  • 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     HttpTransport class     Name     QueueName

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