Commit 561c2969 authored by Lukáš Marek's avatar Lukáš Marek

renamed new string message to string info

parent 01156f22
......@@ -791,7 +791,7 @@ static void ot_pack_string_data(JNIEnv * jni_env, buffer * buff,
// add message to the buffer
// msg id
pack_byte(buff, MSG_NEW_STRING);
pack_byte(buff, MSG_STRING_INFO);
// send string net reference
pack_long(buff, str_net_ref);
// send string
......
......@@ -15,7 +15,7 @@ static const jbyte MSG_NEW_CLASS = 3;
// sending class info
static const jbyte MSG_CLASS_INFO = 4;
// sending new string
static const jbyte MSG_NEW_STRING = 5;
static const jbyte MSG_STRING_INFO = 5;
// sending registration for analysis method
static const jbyte MSG_REG_ANALYSIS = 6;
// sending thread info
......
......@@ -76,7 +76,6 @@ public final class AnalysisResolver {
// resolve analysis method
final Method raMethod = __getAnalysisMethod (raInst, methodName);
// TODO re - check that method has after each Class<?> arg, int arg
return new AnalysisMethodHolder(raInst, raMethod);
}
......
package ch.usi.dag.dislreserver.msg.newstring;
package ch.usi.dag.dislreserver.msg.stringinfo;
import java.io.DataInputStream;
import java.io.DataOutputStream;
......@@ -9,7 +9,7 @@ import ch.usi.dag.dislreserver.reqdispatch.RequestHandler;
import ch.usi.dag.dislreserver.shadow.ShadowObjectTable;
import ch.usi.dag.dislreserver.shadow.ShadowString;
public class NewStringHandler implements RequestHandler {
public class StringInfoHandler implements RequestHandler {
public void handle(DataInputStream is, DataOutputStream os, boolean debug)
throws DiSLREServerException {
......
......@@ -14,9 +14,9 @@ import ch.usi.dag.dislreserver.msg.analyze.AnalysisHandler;
import ch.usi.dag.dislreserver.msg.classinfo.ClassInfoHandler;
import ch.usi.dag.dislreserver.msg.close.CloseHandler;
import ch.usi.dag.dislreserver.msg.newclass.NewClassHandler;
import ch.usi.dag.dislreserver.msg.newstring.NewStringHandler;
import ch.usi.dag.dislreserver.msg.objfree.ObjectFreeHandler;
import ch.usi.dag.dislreserver.msg.reganalysis.RegAnalysisHandler;
import ch.usi.dag.dislreserver.msg.stringinfo.StringInfoHandler;
import ch.usi.dag.dislreserver.msg.threadinfo.ThreadInfoHandler;
......@@ -32,7 +32,7 @@ public final class RequestDispatcher {
private static final byte __REQUEST_ID_OBJECT_FREE__ = 2;
private static final byte __REQUEST_ID_NEW_CLASS__ = 3;
private static final byte __REQUEST_ID_CLASS_INFO__ = 4;
private static final byte __REQUEST_ID_NEW_STRING__ = 5;
private static final byte __REQUEST_ID_STRING_INFO__ = 5;
private static final byte __REQUEST_ID_REGISTER_ANALYSIS__ = 6;
private static final byte __REQUEST_ID_THREAD_INFO__ = 7;
......@@ -54,7 +54,7 @@ public final class RequestDispatcher {
requestMap.put (__REQUEST_ID_OBJECT_FREE__, new ObjectFreeHandler ());
requestMap.put (__REQUEST_ID_NEW_CLASS__, new NewClassHandler ());
requestMap.put (__REQUEST_ID_CLASS_INFO__, new ClassInfoHandler ());
requestMap.put (__REQUEST_ID_NEW_STRING__, new NewStringHandler ());
requestMap.put (__REQUEST_ID_STRING_INFO__, new StringInfoHandler ());
requestMap.put (__REQUEST_ID_REGISTER_ANALYSIS__, new RegAnalysisHandler ());
requestMap.put (__REQUEST_ID_THREAD_INFO__, new ThreadInfoHandler());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment