Interface INetworkServer
Underlying interface for the Network
Inherited Members
Namespace: SociallyDistant .Core.OS.Network
Assembly: SociallyDistant.Framework.dll
Syntax
public interface INetworkServer : IDisposable
Properties
Name
Gets a value indicating the server's name.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
string |
Port
Gets a value indicating the server's listening port.
Declaration
ushort Port { get; }
Property Value
Type | Description |
---|---|
ushort |
ServerDevice
Gets an instance of IComputer representing the server.
Declaration
IComputer ServerDevice { get; }
Property Value
Type | Description |
---|---|
IComputer |
Methods
GetHackable(IWorldManager)
Gets an implementation of IHackable based on this server.
Declaration
IHackable GetHackable(IWorldManager world)
Parameters
Type | Name | Description |
---|---|---|
IWorld |
world | The world where hackable data is stored. |
Returns
Type | Description |
---|---|
IHackable | The created hackable. |