@ListenEventsOn(channel = "app.event.sensor.object.behavior.clicked")
public void onObjectClicked(EventTemplate event) {
List<String> behavior_list = new ArrayList<String>();
System.out.println("received event " + event.toString());
ObjectReceiveClick clickEvent = (ObjectReceiveClick) event;
//PRINT EVENT CONTENT WITH
System.out.println(clickEvent.getPayload().toString());
String objectName = clickEvent.getProperty("object.name");
String protocol = clickEvent.getProperty("object.protocol");
String address = clickEvent.getProperty("object.address");
try {
Statement stat = connection.createStatement();
System.out.println("Protocol=" + protocol + ",Address=" + address);