Method | Description | |
---|---|---|
Activate ( string username, string password ) : System.Result | ||
AddMessage ( string message ) : bool | ||
AddModerator ( string adminUsername, string adminPassword, string usernameToAdd, string subforum ) : System.Result | ||
AddSubforum ( string adminUsername, string adminPassword, string subforumName ) : System.Result | ||
ClientNetworkAdaptor ( ) : System | ||
ClientNetworkAdaptor ( bool GetCallBack ) : System |
Constructor
|
|
Deactivate ( string username, string password ) : System.Result | ||
EditPost ( Postkey oldPost, |
||
GetData ( int value ) : string | ||
GetNumberOfLoggedInUsers ( ) : int | ||
ListenOnForum ( string username, string subForumName ) : bool | ||
RemoveModerator ( string adminUsername, string adminPassword, string usernameToRemove, string subforum ) : System.Result | ||
RemovePost ( Postkey postkey, string username, string password ) : System.Result | ||
RemoveSubforum ( string adminUsername, string adminPassword, string subforumName ) : System.Result | ||
ReplaceAdmin ( string oldAdminUsername, string oldAdminPassword, string newAdminUsername, string newAdminPassword ) : System.Result | ||
ReplaceModerator ( string adminUsername, string adminPassword, string usernameToAdd, string usernameToRemove, string subforum ) : System.Result | ||
ReportSubForumTotalPosts ( string adminUsername, string adminPassword, string subforumName ) : int | ||
ReportUserTotalPosts ( string adminUsername, string adminPassword, string username ) : int | ||
Subscribe ( string username ) : |
||
netListener_OnUpdateFromServer ( |
Will be called when netListener will invoke its update event
|
Method | Description | |
---|---|---|
Ban ( string usernameToBan, string modUsername, string modPassword ) : System.Result | ||
GetPost ( Postkey postkey ) : |
||
GetReplies ( Postkey postkey ) : ForumShared.SharedDataTypes.Post[] |
Get a Post using its PostKey
|
|
GetSubforum ( String subforumname ) : ForumShared.SharedDataTypes.Post[] |
Get a Subforum by its name.
|
|
GetSubforumsList ( ) : string[] |
Gets the list of sub forums from the server.
|
|
Login ( String username, String password ) : System.Result |
Logs in to server with username and password.
|
|
Logout ( String username ) : System.Result |
Logs out of server with username.
|
|
Post ( String subForumName, |
Add a post to a sub forum.
|
|
Register ( String usename, String password ) : System.Result |
Temp method - just to test connection to ws. To be deleted. Registers a new user on the server.
|
|
Reply ( Postkey originalPost, |
Add a reply to a post.
|
|
Search ( string query ) : ForumShared.SharedDataTypes.Post[] |
public Activate ( string username, string password ) : System.Result | ||
username | string | |
password | string | |
return | System.Result |
public AddModerator ( string adminUsername, string adminPassword, string usernameToAdd, string subforum ) : System.Result | ||
adminUsername | string | |
adminPassword | string | |
usernameToAdd | string | |
subforum | string | |
return | System.Result |
public AddSubforum ( string adminUsername, string adminPassword, string subforumName ) : System.Result | ||
adminUsername | string | |
adminPassword | string | |
subforumName | string | |
return | System.Result |
public ClientNetworkAdaptor ( bool GetCallBack ) : System | ||
GetCallBack | bool | |
return | System |
public Deactivate ( string username, string password ) : System.Result | ||
username | string | |
password | string | |
return | System.Result |
public EditPost ( Postkey oldPost, |
||
oldPost | Postkey | |
newPost | ||
username | string | |
password | string | |
return | System.Result |
public ListenOnForum ( string username, string subForumName ) : bool | ||
username | string | |
subForumName | string | |
return | bool |
public RemoveModerator ( string adminUsername, string adminPassword, string usernameToRemove, string subforum ) : System.Result | ||
adminUsername | string | |
adminPassword | string | |
usernameToRemove | string | |
subforum | string | |
return | System.Result |
public RemovePost ( Postkey postkey, string username, string password ) : System.Result | ||
postkey | Postkey | |
username | string | |
password | string | |
return | System.Result |
public RemoveSubforum ( string adminUsername, string adminPassword, string subforumName ) : System.Result | ||
adminUsername | string | |
adminPassword | string | |
subforumName | string | |
return | System.Result |
public ReplaceAdmin ( string oldAdminUsername, string oldAdminPassword, string newAdminUsername, string newAdminPassword ) : System.Result | ||
oldAdminUsername | string | |
oldAdminPassword | string | |
newAdminUsername | string | |
newAdminPassword | string | |
return | System.Result |
public ReplaceModerator ( string adminUsername, string adminPassword, string usernameToAdd, string usernameToRemove, string subforum ) : System.Result | ||
adminUsername | string | |
adminPassword | string | |
usernameToAdd | string | |
usernameToRemove | string | |
subforum | string | |
return | System.Result |
public ReportSubForumTotalPosts ( string adminUsername, string adminPassword, string subforumName ) : int | ||
adminUsername | string | |
adminPassword | string | |
subforumName | string | |
return | int |
public ReportUserTotalPosts ( string adminUsername, string adminPassword, string username ) : int | ||
adminUsername | string | |
adminPassword | string | |
username | string | |
return | int |
public Subscribe ( string username ) : |
||
username | string | |
return |
public netListener_OnUpdateFromServer ( |
||
message | ||
return | void |