public static ApiRoom getRoomAgent ( Room sfsRoom ) { Object roomAgent = sfsRoom . getProperty ( APIKey . ROOM ) ; if ( roomAgent == null ) throw new RuntimeException ( "Can not get user agent" ) ; return ( ApiRoom ) roomAgent ; }
Get room agent object mapped to smartfox room object