Show / Hide Table of Contents

Class TestJiraTitleGameClient

A placeholder class to represent a GameClient.

Inheritance
object
TestJiraTitleGameClient
Implements
IGameClient
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.Aruba.TestJiraTitle
Assembly: Phoenix.Plugin.Aruba.TestJiraTitle.dll
Syntax
public class TestJiraTitleGameClient : IGameClient, IDisposable

Properties

View Source

IpAddress

Gets the IP address.

Declaration
public string IpAddress { get; }
Property Value
Type Description
string

Methods

View Source

Connect(GameClientConnectionContext, CancellationToken)

Establishes a connection with the game client if it isn't already connected.

Declaration
public Task<bool> Connect(GameClientConnectionContext connectionContext, CancellationToken cancellationToken)
Parameters
Type Name Description
GameClientConnectionContext connectionContext

The connection context containing the information needed to establish a connection.

CancellationToken cancellationToken

A cancellation token.

Returns
Type Description
Task<bool>

Return whether the Game Client is connected.

View Source

Dispose()

Disposes of the Game Client.

Declaration
public void Dispose()
View Source

TestArubaTokenFailedExFunction()

Test Function for testing RPC Tokens

Declaration
public static string TestArubaTokenFailedExFunction()
Returns
Type Description
string

N/A.

Exceptions
Type Condition
ArubaTokenFailedException

Throwing an ArubaTokenFailedException for testing purposes.

View Source

TestFuncThatReturnsAnInt()

Test Function for testing RPC Tokens

Declaration
public static int TestFuncThatReturnsAnInt()
Returns
Type Description
int

An int.

View Source

TestGameClientFunction()

Test Function for testing RPC Tokens

Declaration
public static string TestGameClientFunction()
Returns
Type Description
string

A string

View Source

TestNonArubaTokenFailedException()

Test Function for testing RPC Tokens

Declaration
public static int TestNonArubaTokenFailedException()
Returns
Type Description
int

N/A.

Exceptions
Type Condition
InvalidCastException

Throwing exception for test purposes.

Implements

IGameClient
IDisposable
  • View Source
In this article
Back to top Generated by DocFX