|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsynergynetframework.appsystem.services.net.networkedcontentmanager.NetworkedContentManager
public class NetworkedContentManager
The Class NetworkedContentManager.
Field Summary | |
---|---|
static java.lang.String |
BACKITEMSLIST
The Constant BACKITEMSLIST. |
static java.lang.String |
ONLINEITEMSLIST
The Constant ONLINEITEMSLIST. |
Constructor Summary | |
---|---|
NetworkedContentManager(ContentSystem contentSystem,
TableCommsClientService comms,
java.util.List<java.lang.Class<?>> receiverClasses)
Instantiates a new networked content manager. |
Method Summary | |
---|---|
void |
addNetworkedContentListener(NetworkedContentListener l)
Adds the networked content listener. |
void |
allowedToSendmessage(boolean allowedToSendMessage)
Allowed to sendmessage. |
void |
backupLocalItems()
Backup local items. |
void |
blockRemoteDesktop(boolean isRemoteLocked)
Block remote desktop. |
void |
broadcastCurrentDeskTop()
Broadcast current desk top. |
void |
clearRemoteDeskTop()
Clear remote desk top. |
void |
createProjectorController(java.util.ArrayList<java.lang.Class<?>> controllerClasses,
java.util.ArrayList<java.lang.Class<?>> projectorClasses)
Creates the projector controller. |
void |
createRemoteDesktopController(java.util.ArrayList<java.lang.Class<?>> controllerClasses,
java.util.ArrayList<java.lang.Class<?>> targetClasses)
Creates the remote desktop controller. |
void |
enableBiSynchronisation(boolean isBiSynchronisationEnabled)
Enable bi synchronisation. |
void |
enableMenu(boolean isMenuEnabled)
Enable menu. |
void |
enableMenuController(boolean isMenuControllerOn,
OrthoContainer menu)
Enable menu controller. |
void |
enableRemoteMenu(boolean isRemoteMenuOn)
Enable remote menu. |
void |
enableSynchronisation(boolean isSynchronisationOn)
Enable synchronisation. |
ContentSystem |
getContentSystem()
Gets the content system. |
java.lang.String |
getCurrentScreenChannel()
Gets the current screen channel. |
GraphManager |
getGraphManager()
Gets the graph manager. |
java.util.List<NetworkedContentListener> |
getNetworkedContentListeners()
Gets the networked content listeners. |
NetworkedFlickController |
getNetworkedFlickController()
Gets the networked flick controller. |
java.util.Map<java.lang.String,ContentItem> |
getOnlineItems()
Gets the online items. |
ProjectorController |
getProjectorController()
Gets the projector controller. |
java.util.List<java.lang.Class<?>> |
getReceiverClasses()
Gets the receiver classes. |
RemoteDesktopController |
getRemoteDesktopController()
Gets the remote desktop controller. |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getSychronisedData()
Gets the sychronised data. |
TableCommsClientService |
getTableCommsClientService()
Gets the table comms client service. |
boolean |
isAllowedToSendMessage()
Checks if is allowed to send message. |
boolean |
isbackupListEnabled()
Checks if is backup list enabled. |
boolean |
isBiSynchronisationEnabled()
Checks if is bi synchronisation enabled. |
boolean |
isMenuEnabled()
Checks if is menu enabled. |
boolean |
isRemoteLocked()
Checks if is remote locked. |
boolean |
isRemoteMenuOn()
Checks if is remote menu on. |
boolean |
isSynchronisationOn()
Checks if is synchronisation on. |
void |
loadContent(java.util.List<ContentItem> collection)
Load content. |
void |
loadContent(java.lang.String filePath,
java.lang.String name)
Load content. |
void |
loadContentInRemoteTable(java.lang.String filePath,
java.lang.String name)
Load content in remote table. |
void |
loadContentItem(ContentItem item)
Load content item. |
void |
loadLocalContent(java.lang.String filePath,
java.lang.String name)
Load local content. |
void |
removeAllItems()
Removes the all items. |
void |
removeAllItemsInBackList()
Removes the all items in back list. |
void |
removeContentItem(ContentItem item)
Removes the content item. |
void |
removeNetworkedContentListener(NetworkedContentListener l)
Removes the networked content listener. |
void |
removeNetworkedContentListeners()
Removes the networked content listeners. |
void |
requestDataFrom(TableIdentity table)
Request data from. |
void |
sendDataTo(TableIdentity table)
Send data to. |
void |
sendMessage(java.lang.Object obj)
Send message. |
void |
sendSwapTableMessage(TableIdentity targetTable)
Send swap table message. |
void |
setbackupListEnabled(boolean isbackupListEnabled)
Sets the backup list enabled. |
void |
setBiSynchronisationEnabled(boolean isBiSynchronisationEnabled)
Sets the bi synchronisation enabled. |
void |
setGraphManager(GraphManager graphManager)
Sets the graph manager. |
void |
setRemoteLocked(boolean isRemoteLocked)
Sets the remote locked. |
void |
setRemoteMenuOn(boolean isRemoteMenuOn)
Sets the remote menu on. |
void |
setSynchronisationOn(boolean isSynchronisationOn)
Sets the synchronisation on. |
void |
showLocalItems()
Show local items. |
void |
stateUpdate(float tpf)
State update. |
void |
swapTable(TableIdentity table1,
TableIdentity table2)
Swap table. |
void |
switchItemList()
Switch item list. |
void |
synchroniseData(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> synchronisedItems)
Synchronise data. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String BACKITEMSLIST
public static final java.lang.String ONLINEITEMSLIST
Constructor Detail |
---|
public NetworkedContentManager(ContentSystem contentSystem, TableCommsClientService comms, java.util.List<java.lang.Class<?>> receiverClasses)
contentSystem
- the content systemcomms
- the commsreceiverClasses
- the receiver classesMethod Detail |
---|
public void addNetworkedContentListener(NetworkedContentListener l)
l
- the lpublic void allowedToSendmessage(boolean allowedToSendMessage)
allowedToSendMessage
- the allowed to send messagepublic void backupLocalItems()
public void blockRemoteDesktop(boolean isRemoteLocked)
isRemoteLocked
- the is remote lockedpublic void broadcastCurrentDeskTop()
public void clearRemoteDeskTop()
public void createProjectorController(java.util.ArrayList<java.lang.Class<?>> controllerClasses, java.util.ArrayList<java.lang.Class<?>> projectorClasses)
controllerClasses
- the controller classesprojectorClasses
- the projector classespublic void createRemoteDesktopController(java.util.ArrayList<java.lang.Class<?>> controllerClasses, java.util.ArrayList<java.lang.Class<?>> targetClasses)
controllerClasses
- the controller classestargetClasses
- the target classespublic void enableBiSynchronisation(boolean isBiSynchronisationEnabled)
isBiSynchronisationEnabled
- the is bi synchronisation enabledpublic void enableMenu(boolean isMenuEnabled)
isMenuEnabled
- the is menu enabledpublic void enableMenuController(boolean isMenuControllerOn, OrthoContainer menu)
isMenuControllerOn
- the is menu controller onmenu
- the menupublic void enableRemoteMenu(boolean isRemoteMenuOn)
isRemoteMenuOn
- the is remote menu onpublic void enableSynchronisation(boolean isSynchronisationOn)
isSynchronisationOn
- the is synchronisation onpublic ContentSystem getContentSystem()
public java.lang.String getCurrentScreenChannel()
public GraphManager getGraphManager()
public java.util.List<NetworkedContentListener> getNetworkedContentListeners()
public NetworkedFlickController getNetworkedFlickController()
public java.util.Map<java.lang.String,ContentItem> getOnlineItems()
public ProjectorController getProjectorController()
public java.util.List<java.lang.Class<?>> getReceiverClasses()
public RemoteDesktopController getRemoteDesktopController()
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getSychronisedData()
public TableCommsClientService getTableCommsClientService()
public boolean isAllowedToSendMessage()
public boolean isbackupListEnabled()
public boolean isBiSynchronisationEnabled()
public boolean isMenuEnabled()
public boolean isRemoteLocked()
public boolean isRemoteMenuOn()
public boolean isSynchronisationOn()
public void loadContent(java.util.List<ContentItem> collection)
collection
- the collectionpublic void loadContent(java.lang.String filePath, java.lang.String name)
filePath
- the file pathname
- the namepublic void loadContentInRemoteTable(java.lang.String filePath, java.lang.String name)
filePath
- the file pathname
- the namepublic void loadContentItem(ContentItem item)
item
- the itempublic void loadLocalContent(java.lang.String filePath, java.lang.String name)
filePath
- the file pathname
- the namepublic void removeAllItems()
public void removeAllItemsInBackList()
public void removeContentItem(ContentItem item)
item
- the itempublic void removeNetworkedContentListener(NetworkedContentListener l)
l
- the lpublic void removeNetworkedContentListeners()
public void requestDataFrom(TableIdentity table)
table
- the tablepublic void sendDataTo(TableIdentity table)
table
- the tablepublic void sendMessage(java.lang.Object obj)
obj
- the objpublic void sendSwapTableMessage(TableIdentity targetTable)
targetTable
- the target tablepublic void setbackupListEnabled(boolean isbackupListEnabled)
isbackupListEnabled
- the new backup list enabledpublic void setBiSynchronisationEnabled(boolean isBiSynchronisationEnabled)
isBiSynchronisationEnabled
- the new bi synchronisation enabledpublic void setGraphManager(GraphManager graphManager)
graphManager
- the new graph managerpublic void setRemoteLocked(boolean isRemoteLocked)
isRemoteLocked
- the new remote lockedpublic void setRemoteMenuOn(boolean isRemoteMenuOn)
isRemoteMenuOn
- the new remote menu onpublic void setSynchronisationOn(boolean isSynchronisationOn)
isSynchronisationOn
- the new synchronisation onpublic void showLocalItems()
public void stateUpdate(float tpf)
tpf
- the tpfpublic void swapTable(TableIdentity table1, TableIdentity table2)
table1
- the table1table2
- the table2public void switchItemList()
public void synchroniseData(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> synchronisedItems)
synchronisedItems
- the synchronised items
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |