Property | Type | Description | |
---|---|---|---|
loggedIn | bool |
Method | Description | |
---|---|---|
Activate ( ) : bool | ||
AddModerator ( string usernameToAdd, string subforum ) : System.Result | ||
AddSubforum ( string subforumName ) : System.Result | ||
ClientController ( ) : System | ||
ClientController ( bool GetCallBack ) : System |
Constructor
|
|
Deactivate ( string username, string password ) : bool | ||
EditPost ( Postkey postToEdit, string title, string body ) : System.Result | ||
GetNumOfLoggedInUsers ( ) : int | ||
GetPost ( Postkey postkey ) : |
||
GetReplies ( Postkey postkey ) : ForumShared.SharedDataTypes.Post[] | ||
GetSubforum ( String subforumname ) : ForumShared.SharedDataTypes.Post[] | ||
GetSubforumsList ( ) : String[] | ||
ListenOnForum ( string username, string subForumName ) : bool | ||
Login ( string userName, string password ) : bool | ||
Logout ( ) : bool | ||
Post ( string subForumName, string title, string body ) : System.Result | ||
Register ( string userName, string password ) : System.Result | ||
RemoveModerator ( string usernameToRemove, string subforum ) : System.Result | ||
RemovePost ( Postkey postkey ) : System.Result | ||
RemoveSubforum ( string subforumName ) : System.Result | ||
ReplaceAdmin ( string newAdminUsername, string newAdminPassword ) : System.Result | ||
ReplaceModerator ( string usernameToAdd, string usernameToRemove, string subforum ) : System.Result | ||
Reply ( Postkey originalPost, string title, string body ) : System.Result | ||
ReportSubForumTotalPosts ( string subforumName ) : int | ||
ReportUserTotalPosts ( string username ) : int | ||
Subscribe ( string username ) : |
||
netAdaptor_OnUpdateFromServer ( |
This method is an example of using NetworkAdaptor When netAdaptor invoked an event OnUpdateFromController it gets to this method
|
Method | Description | |
---|---|---|
Ban ( string usernameToBan ) : System.Result | ||
Search ( string query ) : ForumShared.SharedDataTypes.Post[] |
public AddModerator ( string usernameToAdd, string subforum ) : System.Result | ||
usernameToAdd | string | |
subforum | string | |
return | System.Result |
public AddSubforum ( string subforumName ) : System.Result | ||
subforumName | string | |
return | System.Result |
public ClientController ( bool GetCallBack ) : System | ||
GetCallBack | bool | |
return | System |
public Deactivate ( string username, string password ) : bool | ||
username | string | |
password | string | |
return | bool |
public EditPost ( Postkey postToEdit, string title, string body ) : System.Result | ||
postToEdit | Postkey | |
title | string | |
body | string | |
return | System.Result |
public GetPost ( Postkey postkey ) : |
||
postkey | Postkey | |
return |
public GetReplies ( Postkey postkey ) : ForumShared.SharedDataTypes.Post[] | ||
postkey | Postkey | |
return | ForumShared.SharedDataTypes.Post[] |
public GetSubforum ( String subforumname ) : ForumShared.SharedDataTypes.Post[] | ||
subforumname | String | |
return | ForumShared.SharedDataTypes.Post[] |
public ListenOnForum ( string username, string subForumName ) : bool | ||
username | string | |
subForumName | string | |
return | bool |
public Login ( string userName, string password ) : bool | ||
userName | string | |
password | string | |
return | bool |
public Post ( string subForumName, string title, string body ) : System.Result | ||
subForumName | string | |
title | string | |
body | string | |
return | System.Result |
public Register ( string userName, string password ) : System.Result | ||
userName | string | |
password | string | |
return | System.Result |
public RemoveModerator ( string usernameToRemove, string subforum ) : System.Result | ||
usernameToRemove | string | |
subforum | string | |
return | System.Result |
public RemovePost ( Postkey postkey ) : System.Result | ||
postkey | Postkey | |
return | System.Result |
public RemoveSubforum ( string subforumName ) : System.Result | ||
subforumName | string | |
return | System.Result |
public ReplaceAdmin ( string newAdminUsername, string newAdminPassword ) : System.Result | ||
newAdminUsername | string | |
newAdminPassword | string | |
return | System.Result |
public ReplaceModerator ( string usernameToAdd, string usernameToRemove, string subforum ) : System.Result | ||
usernameToAdd | string | |
usernameToRemove | string | |
subforum | string | |
return | System.Result |
public Reply ( Postkey originalPost, string title, string body ) : System.Result | ||
originalPost | Postkey | |
title | string | |
body | string | |
return | System.Result |
public ReportSubForumTotalPosts ( string subforumName ) : int | ||
subforumName | string | |
return | int |
public ReportUserTotalPosts ( string username ) : int | ||
username | string | |
return | int |
public Subscribe ( string username ) : |
||
username | string | |
return |
public netAdaptor_OnUpdateFromServer ( |
||
message | ||
return | void |