public class BBoardProvFtry.BBoardProvImp extends java.lang.Object implements SrvcProvImp
IF_VERSION| Constructor and Description |
|---|
BBoardProvFtry.BBoardProvImp()
Create a new BBoardProvImp instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPost(java.lang.String postText)
Add a post to the bulletin board
|
int |
dispatchRqst(TvList msgRec,
TvOutput chnl,
java.lang.String[] srvrCmd)
Dispatch channel request.
|
TvList |
getPostsMsg()
Build the bulletin board posts message, Sorted last post first.
|
void |
handleDisconnect(TvOutput client)
Clean up after the client disconnects.
|
void |
removePost(java.lang.String postId)
Remove a post from the bulletin board
|
public BBoardProvFtry.BBoardProvImp()
public int dispatchRqst(TvList msgRec, TvOutput chnl, java.lang.String[] srvrCmd)
dispatchRqst in interface SrvcProvImpmsgRec - The client request messagechnl - Connection back to the clientsrvrCmd - Allows a command to be passed back to the server.public TvList getPostsMsg()
public void addPost(java.lang.String postText)
postText - The text to post (can be html)public void removePost(java.lang.String postId)
postId - The ID of the post to removepublic void handleDisconnect(TvOutput client)
handleDisconnect in interface SrvcProvImpclient - The channel to the client that has disconnected