Ruyi SDK
Namespaces
Ruyi.Layer0
TSocketTransportTS Class
TSocketTransportTS Constructor
TSocketTransportTS Properties
TSocketTransportTS Methods
Click or drag to resizeClick or drag to resize

TSocketTransportTS Class

[This is preliminary documentation and is subject to change.]

Wrappered TSocket class
Inheritance Hierarchy
SystemObject
  TTransport
    TStreamTransport
      TSocket
        Ruyi.Layer0TSocketTransportTS

Namespace:  Ruyi.Layer0
Assembly:  SDK.Base.nf2.0 (in SDK.Base.nf2.0.dll) Version: 0.9.3.3995 (0.9.3.3995)
Syntax
C#
Copy
public class TSocketTransportTS : TSocket, 
	TTransportTS

The TSocketTransportTS type exposes the following members.

Constructors
  NameDescription
Public methodTSocketTransportTS(TcpClient)
constructor of TSocketTransportTS with TcpClient
Public methodTSocketTransportTS(String, Int32)
constructor of TSocketTransportTS with host and port
Public methodTSocketTransportTS(String, Int32, Int32)
constructor of TSocketTransportTS with host,port and timeout
Top
Properties
  NameDescription
Public propertyHost (Inherited from TSocket.)
Public propertyInputStream (Inherited from TStreamTransport.)
Public propertyIsOpen (Inherited from TSocket.)
Public propertyOutputStream (Inherited from TStreamTransport.)
Public propertyPort (Inherited from TSocket.)
Public propertyTcpClient (Inherited from TSocket.)
Public propertyTimeout (Inherited from TSocket.)
Top
Methods
  NameDescription
Public methodBeginFlush
begin flush asyncly
(Overrides TTransport.BeginFlush(AsyncCallback, Object).)
Public methodClose (Inherited from TSocket.)
Public methodDispose (Inherited from TTransport.)
Public methodEndFlush
end flush acyncly
(Overrides TTransport.EndFlush(IAsyncResult).)
Public methodFlush
clears all buffers for this stream
(Overrides TStreamTransport.Flush.)
Public methodOpen (Inherited from TSocket.)
Public methodPeek (Inherited from TTransport.)
Public methodRead (Inherited from TStreamTransport.)
Public methodReadAll (Inherited from TTransport.)
Public methodReconnect
reconnect between C/S
Public methodSetWriteLocker
set muted locker
Public methodWrite(Byte) (Inherited from TTransport.)
Public methodWrite(Byte, Int32, Int32) (Inherited from TStreamTransport.)
Top
See Also

Reference

Ruyi.Layer0 Namespace

Copyright ©Zhongshan Subor Advanced Technology Co., Ltd. 2017-2018, All right reserved

Send comments on this topic to dev-support@playruyi.com