iw4madminapplicationfactories RConConnectionFactory - RaidMax/IW4M-Admin GitHub Wiki
Internal class
RConConnectionFactory Description
implementation of IRConConnectionFactory
Diagram
flowchart LR
classDef interfaceStyle stroke-dasharray: 5 5;
classDef abstractStyle stroke-width:4px
subgraph IW4MAdmin.Application.Factories
IW4MAdmin.Application.Factories.RConConnectionFactory[RConConnectionFactory](/RaidMax/IW4M-Admin/wiki/RConConnectionFactory)
end
subgraph SharedLibraryCore.Interfaces
SharedLibraryCore.Interfaces.IRConConnectionFactory[IRConConnectionFactory](/RaidMax/IW4M-Admin/wiki/IRConConnectionFactory)
class SharedLibraryCore.Interfaces.IRConConnectionFactory interfaceStyle;
end
SharedLibraryCore.Interfaces.IRConConnectionFactory --> IW4MAdmin.Application.Factories.RConConnectionFactory
Members
Methods
Public methods
Returns | Name |
---|---|
IRConConnection |
CreateConnection (IPEndPoint ipEndpoint, string password, string rconEngine)creates an rcon connection instance |
Details
Summary
implementation of IRConConnectionFactory
Inheritance
Constructors
RConConnectionFactory
public RConConnectionFactory(IServiceProvider serviceProvider)
Arguments
Type | Name | Description |
---|---|---|
IServiceProvider |
serviceProvider |
Summary
Base constructor
Methods
CreateConnection
public virtual IRConConnection CreateConnection(IPEndPoint ipEndpoint, string password, string rconEngine)
Arguments
Type | Name | Description |
---|---|---|
IPEndPoint |
ipEndpoint | ip address and port of the server |
string |
password | password of the server |
string |
rconEngine | engine to create the rcon connection to |
Summary
creates an rcon connection instance
Returns
instance of rcon connection
Generated with ModularDoc