java/srcPubnubApi/com/pubnub/api/PubnubCore.java
/**
     * Listen for a message on a channel.
     *
     * @param args     hashtable
     * @param callback to call
     * @throws PubnubException
     */
Listen for a message on a channel.
@param args     hashtable
@param callback to call
@throws PubnubException
Listen for a message on a channel . @param args hashtable @param callback to call @throws PubnubException
protected void subscribe(Hashtable args, Callback callback)
            throws PubnubException {
        args.put("callback", callback);
        subscribe(args);
    }
protected void subscribe ( Hashtable args , Callback callback ) throws PubnubException { args . put ( "callback" , callback ) ; subscribe ( args ) ; }
Listen for a message on a channel.
Listen for a message on a channel .