IServerConnectionApi Interface

GF API Documentation
Public API for connection functionality to a particular server

Namespace:  GF.Api.Connection
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

public interface IServerConnectionApi

The IServerConnectionApi type exposes the following members.

Properties

  NameDescription
Public propertyCurrentUser
Gets the user currently logged in to this server.
Public propertyIsAdmin
True if the currently logged in user has admin privileges.
Public propertyIsClosed
Socket is closed
Public propertyIsConnected
Socket is open and server connection established See LoginCompleted.
Public propertyIsConnecting
Socket is open but server connection not yet established
Top
Methods

  NameDescription
Public methodConnect
Establishes new connection to the server
Public methodDisconnect
Closes the connection to the OEC server.
Top
Events

  NameDescription
Public eventDisconnected
Raised when connection to server is dropped
Public eventLoginCompleted
Raised when logged in and initial client cache loading is complete
Public eventLoginFailed
Raised when connection couldn't be established, credentials are wrong, or client API version is invalid
Top
See Also

Reference