Table of Contents

Class NullRpcConnectionService

Namespace
Uncreated.Warfare.Networking
Assembly
Uncreated.Warfare.dll
public class NullRpcConnectionService : IRpcConnectionService
Inheritance
NullRpcConnectionService
Implements
Inherited Members

Methods

GetIdentity(IModularRpcRemoteConnection)

Get the identity string of a connection.

public string? GetIdentity(IModularRpcRemoteConnection connection)

Parameters

connection IModularRpcRemoteConnection

Returns

string

GetWarfareConnection()

Get the connection for Warfare.

public IModularRpcRemoteConnection GetWarfareConnection()

Returns

IModularRpcRemoteConnection

Exceptions

RpcNoConnectionsException

TryGetWarfareConnection()

Get the connection for Warfare.

public IModularRpcRemoteConnection? TryGetWarfareConnection()

Returns

IModularRpcRemoteConnection

TryGetWarfareConnection(out IModularRpcRemoteConnection)

Get the connection for Warfare.

public bool TryGetWarfareConnection(out IModularRpcRemoteConnection connection)

Parameters

connection IModularRpcRemoteConnection

Returns

bool