OnlineServiceConnection ClassDelta Engine Documentation
The Current property will connect only once and is used by DeveloperOnlineContentLoader and NetworkLogger. The Editor will create its own connection and manages the connecting itself. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Networking.Tcp TcpSocket
    DeltaEngine.Networking.Tcp OnlineServiceConnection

Namespace: DeltaEngine.Networking.Tcp
Assembly: DeltaEngine.Networking (in DeltaEngine.Networking.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class OnlineServiceConnection : TcpSocket

The OnlineServiceConnection type exposes the following members.

Methods

  NameDescription
Public methodConnect (Inherited from TcpSocket.)
Public methodConnectToService
Allows delayed connecting to the service only when needed (logging or content request) View code on GitHub
Public methodDispose (Inherited from TcpSocket.)
Public methodSend
Send any object to the receiving side. When byte data is big enough and compression is allowed (not already compressed file data) the data will be send compressed via Zip. View code on GitHub
(Inherited from TcpSocket.)
Public methodWaitForData (Inherited from TcpSocket.)
Top
Fields

  NameDescription
Public fieldContentReady
Public fieldContentReceived
Public fieldLoggedIn
Protected fieldnativeSocket (Inherited from TcpSocket.)
Public fieldServerErrorHappened
Top
Properties

  NameDescription
Public propertyIsConnected (Inherited from TcpSocket.)
Public propertyIsLoggedIn
Public propertyTargetAddress (Inherited from TcpSocket.)
Public propertyTimeout (Inherited from TcpSocket.)
Public propertyUniqueID (Inherited from TcpSocket.)
Top
Events

  NameDescription
Public eventConnected (Inherited from TcpSocket.)
Public eventDataReceived (Inherited from TcpSocket.)
Public eventDisconnected (Inherited from TcpSocket.)
Protected eventTimedOut (Inherited from TcpSocket.)
Top
See Also