public void sendGeolocation ( GeoLocation geoLocation ) throws NoResponseException , XMPPErrorException , NotConnectedException , InterruptedException , NotALeafNodeException { getNode ( ) . publish ( new PayloadItem < GeoLocation > ( geoLocation ) ) ; }
Send geolocation through the PubSub node .