Skip to content

61494e3a 1f45 493e 2e8b 1599364bfe31

Arthur Frederico Neves edited this page Jul 19, 2016 · 6 revisions

TCPPublisher Methods

The TCPPublisher type exposes the following members.

Methods

 

Name Description
Public method CloseConnection Stop listening packets, closes the stream and reset the properties of the publisher (Overrides Publisher.CloseConnection().)
Public method Dispose Closes the connection, and resets the states of the publisher. (Inherited from Publisher.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Release resources in the death of the object if the Dispose() method was not used properly. (Inherited from Publisher.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnConnectionClosedCall Calls ConnectionClosedEvent (Inherited from Publisher.)
Protected method Publish Method responsible for receiving packets of stream and puts them in the packet queue and signal the incoming pack event. (Overrides Publisher.Publish().)
Public method SendPack(Byte[], IPEndPoint) Sends the packet through the TCP stream. (Overrides Publisher.SendPack(Byte[], IPEndPoint).)
Public method SendPack(BasePack, IPEndPoint) Sends the packet through the TCP stream. (Overrides Publisher.SendPack(BasePack, IPEndPoint).)
Public method Start Starts the packages listening/receive thread. (Inherited from Publisher.)
Public method Stop Stops the packages listening/receive thread. (Inherited from Publisher.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

See Also

Reference

TCPPublisher Class
NETLIB.TCP Namespace

Clone this wiki locally