package jp.naist.inet_lab.android.ipv6multicast;

public class MulticastManager {

}

@@ -47,39 +47,1660 @@
 t;%0A%0A
-public class MulticastManager %7B
+import android.content.Context;%0A%0A/**%0A * Manage communicating over the IP multicast.%0A * %0A * @author yohei-ka%0A * %0A */%0Apublic class MulticastManager %7B%0A    public MulticastManager() %7B%0A%0A    %7D%0A%0A    /**%0A     * Join the specified multicast group.%0A     * %0A     * @param group_address%0A     *            Address of the multicast group (Human readable string)%0A     */%0A    public void join(String group_address) %7B%0A%0A    %7D%0A%0A    /**%0A     * Leave the multicast group that already joined.%0A     */%0A    public void leave() %7B%0A%0A    %7D%0A%0A    /**%0A     * Send data to the joined multicast group.%0A     * %0A     * @param data%0A     *            Data that you want to send%0A     * @return Size of the data that I actually sent%0A     */%0A    public int sendData(byte%5B%5D data) %7B%0A        return 0;%0A    %7D%0A%0A    /**%0A     * Receive data from the joined multicast group.%0A     * %0A     * @param buffer_size%0A     *            Maximum size by byte that I receive%0A     * @return Size of the data that I actually received%0A     */%0A    public int receiveData(int buffer_size) %7B%0A        return 0;%0A    %7D%0A%0A    /**%0A     * Enable IP multicast on WiFi interface.%0A     * %0A     * A developer who want to use IP multicast on WiFi interface MUST call this%0A     * method manually before joining a multicast group. Also, you don't forget%0A     * to call disableMulticastOnWifi(). It may cause battery issue if you%0A     * forget to call that method.%0A     * %0A     * %0A     * @param context%0A     *            Context of the application%0A     */%0A    public void enableMulticastOnWifi(Context context) %7B%0A%0A    %7D%0A%0A    /**%0A     * Disable IP multicast on WiFi interface.%0A     */%0A    public void disableMulticastOnWifi() %7B%0A%0A    %7D
 %0A%0A%7D%0A

Add method placeholders inner the class "MulticastManager".