src/main/java/org/geppetto/frontend/controllers/ConnectionsManager.java
public String addConnection(WebsocketConnection websocketConnection)
	{
		String id = getNewConnectionId();

		_connections.put(id, websocketConnection);

		purgeLostConnections();

		_logger.info("New websocket connection " + websocketConnection.getConnectionID());

		return id;
	}
/**
	 * Add new connection to list of current ones
	 * 
	 * @param websocketConnection
	 *            - New connection to be added to current ones
	 */
Add new connection to list of current ones

@param websocketConnection
- New connection to be added to current ones
Add new connection to list of current ones @param websocketConnection - New connection to be added to current ones
public String addConnection(WebsocketConnection websocketConnection)
	{
		String id = getNewConnectionId();
		_connections.put(id, websocketConnection);
		purgeLostConnections();
		_logger.info("New websocket connection " + websocketConnection.getConnectionID());
		return id;
	}
public String addConnection ( WebsocketConnection websocketConnection ) { String id = getNewConnectionId ( ) ; _connections . put ( id , websocketConnection ) ; purgeLostConnections ( ) ; _logger . info ( "New websocket connection " + websocketConnection . getConnectionID ( ) ) ; return id ; }
Add new connection to list of current ones
Add new connection to list of current ones