core, lib, modules: restructured source code tree
[sip-router] / src / modules / app_java / kamailio_java_folder / java-untested / siprouter_src / CoreMethods.java
1
2 package org.siprouter;
3 import java.lang.*;
4
5 public class CoreMethods
6 {
7             public static native int seturi(String ruri);
8             public static native int rewriteuri(String ruri);                   // alias to seturi
9
10             public static native int add_local_rport();
11
12             public static native int append_branch();
13             public static native int append_branch(String branch);
14
15             public static native int drop();
16
17             public static native int force_rport();
18             public static native int add_rport();                               // alias to force_rport
19
20             public static native int force_send_socket(String srchost, int srcport);
21
22             public static native int forward();
23             public static native int forward(String ruri, int port);
24
25             public static native boolean isflagset(int flag);
26             public static native void setflag(int flag);
27             public static native void resetflag(int flag);
28
29             public static native int revert_uri();
30
31             public static native int route(String target);
32
33 }
34