Code example for SSLContext

Methods: getSocketFactory

0
    public RequestQueue getRequestQueue() { 
        return rq;
    } 
 
    public SSLSocketFactory getSslSocketFactory() {
        return sslContext.getSocketFactory();
    } 
 
    /* 
     * private void storeEvent(Event event) { OpenHelper helper = new 
     * OpenHelper(context); SQLiteDatabase db = helper.getWritableDatabase(); 
     *  
     * // insert all incoming events into the DB, even motion events 
     * ContentValues values = new ContentValues(); values.put("which", 
     * event.which); values.put("type", event.typeName); values.put("event", 
     * event.eventName); values.put("ts", event.timestamp); 
     * values.put("eventid", event.id); db.insert("events", null, values); } 
     */ 
}