|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cvm.ncb.manager.NCB_M_Facade
public class NCB_M_Facade
Facade into the NCB_Manager package.
Method Summary | |
---|---|
void |
addParty(java.lang.String sessionID,
java.lang.String participantID)
This function adds the participants specified to the specific session. |
boolean |
createdSession()
Deprecated. |
void |
createSession(java.lang.String sessionID)
This function creates a session with the specific session ID |
UserProfile |
createUserProfile(UserObject usr,
java.lang.Object schema)
This method generates a user profile for the give user. |
void |
disableMedium(java.lang.String connectionID,
java.lang.String mediumName)
This command will stop sending the specified medium to all the participants during the connection. |
void |
enableMedium(java.lang.String connectionID,
java.lang.String mediumName)
|
static NCB_M_Facade |
getInstance()
Singleton implementation. |
java.lang.String |
getSessionID(java.lang.String connID)
Deprecated. |
boolean |
isCreatedSession(java.lang.String sessionID)
This method returns whether the session was created or not. |
UserObject |
login(java.lang.String userName,
java.lang.String password)
This method will attempt login the given user. |
void |
logout(java.lang.String userName)
Logs the user out. |
void |
mapConnToSession(java.lang.String connectionID,
java.lang.String sessionID)
This function maps a connection to a session. |
void |
removeParty(java.lang.String sID,
java.lang.String participant)
This method adds the list of participants to the given session. |
void |
resetNCB()
Resets the ncb instnace. |
UserSchema |
retrieveSchemas(java.lang.String userName,
java.lang.String password)
This method returns the schemas for the given user. |
boolean |
saveSchema(java.lang.Object schema)
Saves teh given schema. |
boolean |
sendMedia(java.lang.String sID,
java.lang.String medium,
java.lang.String mediumURL)
This command will send the specified medium to all the participants during the connection. |
boolean |
sendSchema(java.lang.String sID,
java.lang.String senderID,
java.lang.String listReceiver,
java.lang.Object control_xcml)
This method will send the schema to all participants in the specified connection. |
boolean |
sendSchema(java.lang.String sID,
java.lang.String senderID,
java.lang.String listReceiver,
java.lang.String control_xcml,
java.lang.String data_xcml)
This methods send a schema to the given user in the given session. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static NCB_M_Facade getInstance()
public void addParty(java.lang.String sessionID, java.lang.String participantID)
sessionID
- Id of the session to add the participant to.participantID
- Id of the participants to add.NCBExceptionHandler
,
PartyNotAddedException
,
NoSessionException
public void mapConnToSession(java.lang.String connectionID, java.lang.String sessionID)
sessionID
- Id of the session to add the participant to.connectionID
- Id of the participants to addNCBExceptionHandler
,
NoSessionException
public void createSession(java.lang.String sessionID)
sessionID
- ID of the session to create.public boolean isCreatedSession(java.lang.String sessionID)
public java.lang.String getSessionID(java.lang.String connID)
connID
- Id of the connection uinder which the session should be mapped.
public UserObject login(java.lang.String userName, java.lang.String password)
userName
- password
-
public UserSchema retrieveSchemas(java.lang.String userName, java.lang.String password)
userName
- password
-
public boolean createdSession()
public UserProfile createUserProfile(UserObject usr, java.lang.Object schema)
usr
- User object to create the profile.schema
- Schema to send to the user.
public void removeParty(java.lang.String sID, java.lang.String participant)
sID
- participant
- public boolean sendSchema(java.lang.String sID, java.lang.String senderID, java.lang.String listReceiver, java.lang.String control_xcml, java.lang.String data_xcml)
sID
- senderID
- listReceiver
- control_xcml
- data_xcml
-
public boolean sendSchema(java.lang.String sID, java.lang.String senderID, java.lang.String listReceiver, java.lang.Object control_xcml)
sID
- senderID
- listReceiver
- control_xcml
-
public boolean sendMedia(java.lang.String sID, java.lang.String medium, java.lang.String mediumURL)
sID
- medium
- mediumURL
-
public boolean saveSchema(java.lang.Object schema)
schema
- public void enableMedium(java.lang.String connectionID, java.lang.String mediumName)
public void disableMedium(java.lang.String connectionID, java.lang.String mediumName)
connectionID
- mediumName
- public void logout(java.lang.String userName)
userName
- public void resetNCB()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |