package kr.ac.cau.lumin.algomoa.Network;

/**
 * Created by CAUCSE on 2015-11-21.
 */
public class AlgomoaNetworkQueue {
}

@@ -35,16 +35,216 @@
 twork;%0A%0A
+import android.content.Context;%0A%0Aimport com.android.volley.Request;%0Aimport com.android.volley.RequestQueue;%0Aimport com.android.volley.toolbox.StringRequest;%0Aimport com.android.volley.toolbox.Volley;%0A%0A
 /**%0A * C
@@ -257,14 +257,13 @@
  by 
-CAUCSE
+Lumin
  on 
@@ -313,10 +313,1201 @@
 Queue %7B%0A
+    private static AlgomoaNetworkQueue algomoaQueue;%0A    private static RequestQueue requestQueue;%0A    private static Context queueContext;%0A%0A    public static synchronized AlgomoaNetworkQueue getInstance(Context context) %7B%0A        if (algomoaQueue == null) %7B%0A            algomoaQueue = new AlgomoaNetworkQueue(context);%0A        %7D%0A%0A        return algomoaQueue;%0A    %7D%0A%0A    private AlgomoaNetworkQueue(Context context) %7B%0A        queueContext = context;%0A        requestQueue = this.getRequestQueue();%0A    %7D%0A%0A    private %3CT%3E void addObjectInRequestQueue(Request%3CT%3E request) %7B%0A        this.getRequestQueue().add(request);%0A    %7D%0A%0A    private RequestQueue getRequestQueue() %7B%0A        if (requestQueue == null) %7B%0A            requestQueue = Volley.newRequestQueue(queueContext);%0A        %7D%0A        return requestQueue;%0A    %7D%0A%0A    public String sendHttpPostRequest() %7B%0A        String postResult = null;%0A        // TODO : POST Operation.%0A        // StringRequest request = new StringRequest(Request.Method.GET, , , );%0A        return postResult;%0A    %7D%0A%0A    public String sendHttpGetRequest() %7B%0A        String getRequestResult = null;%0A        // TODO : GET Operation%0A        return getRequestResult;%0A    %7D%0A
 %7D%0A

Add requestQueue for networking.