Метод | Описание | |
---|---|---|
AddRoom ( string roomName ) : void |
adds a new room to the rooms repository.
|
|
AddUserToRoom ( string roomName, |
Add a user to an existing room
|
|
DeleteRoom ( string roomName ) : void |
delete a room from the rooms repository.
|
|
GetRoomList ( ) : ICollection |
Get the names of all existing rooms.
|
|
GetUsernamesInRoom ( string roomName ) : string[] | ||
GetUsersOfRoom ( string roomName ) : ICollection |
gets the users currently connected to a room.
|
|
RemoveUserFromRoom ( string roomName, |
Remove a user from an existing room.
|
Метод | Описание | |
---|---|---|
GetRoomByName ( string channelName ) : System.Guid | ||
GetRoomNamesThatUserIsConnectedTo ( |
gets the names of the rooms a particular user is connected to.
|
public static AddRoom ( string roomName ) : void | ||
roomName | string | the name of the room to be added |
Результат | void |
public static AddUserToRoom ( string roomName, |
||
roomName | string | the name of the room the user is being added to. |
user | the user being added to room | |
Результат | void |
public static DeleteRoom ( string roomName ) : void | ||
roomName | string | the name of the room to be deleted |
Результат | void |
public static GetRoomList ( ) : ICollection |
||
Результат | ICollection |
public static GetUsernamesInRoom ( string roomName ) : string[] | ||
roomName | string | |
Результат | string[] |
public static GetUsersOfRoom ( string roomName ) : ICollection |
||
roomName | string | the name of the room that user names should be gotten for. |
Результат | ICollection |
public static RemoveUserFromRoom ( string roomName, |
||
roomName | string | the name of the room the user is being removed from. |
user | the user | |
Результат | void |