| java.lang.Object org.openlaszlo.connection.Application
Application | public class Application (Code) | | |
Method Summary | |
public boolean | doSendUserDisconnect() | public void | dumpAgentsXML(StringBuffer buf, boolean details) | public static synchronized void | dumpApplicationsXML(StringBuffer buf, boolean details) | public void | dumpConnectionsXML(StringBuffer buf, boolean details) | public static void | dumpMultiTableXML(String table, Map map, StringBuffer buf, boolean details) | public static void | dumpTableXML(String table, Map map, StringBuffer buf, boolean details) | public void | dumpUsersXML(StringBuffer buf, boolean details) | public void | dumpXML(StringBuffer buf, boolean details) | public static Application | getApplication(String name) | public static synchronized Application | getApplication(String name, boolean create) | public Authentication | getAuthenticator() | public HTTPConnection | getConnection(String cid) | public ConnectionGroup | getConnectionGroup() | public long | getHeartbeat() | public long | getLastModifiedTime() | public String | getName() | public Set | list(String users) Return an xml string list of connected users. | public void | register(HTTPConnection connection) | public static synchronized void | removeApplication(Application application) | public int | sendMessage(String users, String mesg, String range, StringBuffer xmlResult) | public void | setAgents(Set agentSet) | public void | setAuthenticator(Authentication authenticator) | public void | setConnectionGroup(ConnectionGroup group) | public void | setHeartbeat(long heartbeat) | public void | setLastModifiedTime(long lmt) | public void | setSendUserDisconnect(boolean sud) | public void | unregister(HTTPConnection connection) |
doSendUserDisconnect | public boolean doSendUserDisconnect()(Code) | | |
dumpApplicationsXML | public static synchronized void dumpApplicationsXML(StringBuffer buf, boolean details)(Code) | | |
getHeartbeat | public long getHeartbeat()(Code) | | |
getLastModifiedTime | public long getLastModifiedTime()(Code) | | |
list | public Set list(String users)(Code) | | Return an xml string list of connected users. Agents are not considered
users.
|
removeApplication | public static synchronized void removeApplication(Application application)(Code) | | |
sendMessage | public int sendMessage(String users, String mesg, String range, StringBuffer xmlResult)(Code) | | Send message to a list of users
Parameters: userList - list of users to send message or '*' for everyone on the system Parameters: mesg - message to send number of messages sent |
setAgents | public void setAgents(Set agentSet)(Code) | | |
setHeartbeat | public void setHeartbeat(long heartbeat)(Code) | | |
setLastModifiedTime | public void setLastModifiedTime(long lmt)(Code) | | |
setSendUserDisconnect | public void setSendUserDisconnect(boolean sud)(Code) | | |
|
|