ConnectionService Class

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

Service layer for Connection objects.

public static class ConnectionService
Inheritance:
System.Object → ConnectionService

Fields

ActiveTimeout The value (in seconds) used to determine if a connection is no longer active.
ZombieThreshold The value (in seconds) used to determine if a connection is dead.

Methods

Delete(Guid) Deletes a Connection object.
DeleteZombies() Delete zombie connections that haven't been updated in seconds.
Get() Gets all Connection objects.
Get(Guid) Gets a Connection object.
GetByUser(int) Gets a list of Connection objects for the specified user.
GetByUsers(IEnumerable) Gets a list of Connection objects for the specified users.
Insert(Connection) Inserts a Connection object into the repository.
Update(Connection) Updates a Connection object.