org.omg.FT
Class Utils

java.lang.Object
  |
  +--org.omg.FT.Utils

public class Utils
extends java.lang.Object


Field Summary
static java.lang.Object BACKUP_SYNCH
           
static int BEG_SYNCH_FAILOVER
           
static int CALL_INVOKE
           
static int END_CALL_BY_CLIENT
           
static int END_SYNCH_FAILOVER
           
static int END_SYNCH_SEND_CALLS
           
static int ENTER_RECEIVE_REPLY
           
static int ENTER_RECEIVE_REQUEST
           
static int ENTER_RECEIVE_REQUEST_G
           
static int ENTER_SEND_REPLY
           
static int ENTER_SEND_REQUEST
           
static int EXIT_RECEIVE_REPLY
           
static int EXIT_RECEIVE_REQUEST
           
static int EXIT_REPLY_ALREADY_THERE
           
static int EXIT_SEND_REPLY
           
static int EXIT_SEND_REPLY_GW
           
static int EXIT_SEND_REQUEST
           
private static java.lang.String ft_dom_name_fn
           
static int GET_ANSWER_GW
           
static int GW_SEND_REQUESTS
           
static int GW_SEND_TRANSIENT
           
static int INV_EXITS_SEND_REQUEST
           
static char READ
           
static int REC_GET_STATE_REPLY
           
static int REC_GET_STATE_REQ
           
static int REC_GET_UPDATE_REPLY
           
static int REC_GET_UPDATE_REQ
           
static int RECEIVE_EXCEPTION
           
static int RECEIVE_FIRST_REPLY
           
static int RECEIVE_OTHER
           
static int REPL_MAN_BEG_GET_STATE
           
static int REPL_MAN_BEG_SET_STATE
           
static int REPL_MAN_BEGIN_CR_OBJ
           
static int REPL_MAN_BEGIN_REC
           
static int REPL_MAN_END_CR_OBJ
           
static int REPL_MAN_END_GET_STATE
           
static int REPL_MAN_END_REC
           
static int REPL_MAN_END_SET_STATE
           
static int REPL_MAN_REC_F_NOT
           
private static java.lang.Object semaphor
           
static int SEND_EXCEPTION
           
static int SEND_EXCEPTION_RM
           
static int SEND_FORWARD_EXC
           
static int SEND_GET_STATE_REPLY
           
static int SEND_GET_STATE_REQ
           
static int SEND_GET_UPDATE_REPLY
           
static int SEND_GET_UPDATE_REQ
           
static int SEND_OTHER
           
static int SEND_OTHER_RM
           
static int SEND_REQ_EXP_EXC
           
static int SEND_REQ_EXP_EXC_GW
           
static int SEND_WR_PRIM_EXC
           
static int START_CALL_BY_CLIENT
           
static int START_GET_S_WAIT
           
static int START_GET_STATE
           
static int START_GET_STATE_CALL
           
static int START_GET_U_WAIT
           
static int START_GET_UPDATE
           
static int START_GET_UPDATE_CALL
           
static int START_REC_BR_METHOD_CALL
           
static int START_REC_BR_REPLY
           
static int START_REC_METHOD_CALL
           
static int START_REC_REPLY
           
static int START_SET_STATE
           
static int START_STATE_REC
           
static int START_UPDATE_REC
           
static int START_WAIT_ANSWER_GW
           
static int START_WAIT_GET_STATE
           
static int START_WAIT_UPD_OPER
           
static int STOP_GET_S_WAIT
           
static int STOP_GET_STATE
           
static int STOP_GET_STATE_CALL
           
static int STOP_GET_U_WAIT
           
static int STOP_GET_UPDATE
           
static int STOP_GET_UPDATE_CALL
           
static int STOP_REC_BR_METHOD_CALL
           
static int STOP_REC_BR_REPLY
           
static int STOP_REC_METHOD_CALL
           
static int STOP_REC_REPLY
           
static int STOP_SET_STATE
           
static int STOP_STATE_REC
           
static int STOP_UPDATE_REC
           
static int STOP_WAIT_GET_STATE
           
static int STOP_WAIT_UPD_OPER
           
static int THROW_REPLY_HERE
           
static char UPDATE_NON_VOID
           
static char UPDATE_ONEWAY
           
static char UPDATE_VOID
           
static int YES_REQUEST_RIGHT_PLACE
           
 
Constructor Summary
Utils()
           
 
Method Summary
static byte[] add_ret_id_state(byte[] state, int ret_id)
           
static org.omg.CosNaming.NamingContext bind_context(org.omg.CosNaming.NamingContext ncx, org.omg.CosNaming.NameComponent[] ncs)
           
static org.omg.IOP.TaggedProfile body_profile(org.omg.CORBA.ORB orb, org.omg.IIOP.ProfileBody_1_1 pb11)
           
static boolean byte_a_equal(byte[] a1, byte[] a2)
           
static org.omg.IOP.IOR change_primary(org.omg.CORBA.ORB orb, org.omg.IOP.IOR group_ior, org.omg.IOP.IOR pr_ior, boolean change_gr_v)
           
static boolean contains_tag_group(org.omg.IOP.TaggedProfile tp, org.omg.CORBA.ORB orb)
           
static java.lang.String create_client_id()
           
private static void exec_meth(java.lang.Object obj, long o_i, org.omg.FT.LogRecord[] last_req, org.omg.FT.LoggingRecoveryController cb, org.omg.FT.MethSignStr[] method_sign, org.omg.CORBA.ORB orb)
           
static org.omg.IOP.TaggedProfile ext_profile_tag(org.omg.CORBA.ORB orb, org.omg.IOP.TaggedProfile pr, org.omg.CORBA.portable.IDLEntity tftc, int tag)
           
static java.lang.String extract_ft_dom_n(org.omg.CORBA.ORB orb, org.omg.CORBA.Object ref)
           
static long extract_group_id(org.omg.CORBA.ORB orb, org.omg.IOP.IOR ior)
           
static long extract_group_id(org.omg.CORBA.ORB orb, org.omg.CORBA.Object obj)
           
static long[] extract_group_vers_and_id(org.omg.CORBA.ORB orb, org.omg.IOP.TaggedProfile profile)
           
static int extract_group_version(org.omg.CORBA.ORB orb, org.omg.IOP.IOR ior)
           
static int extract_group_version(org.omg.CORBA.ORB orb, org.omg.IOP.TaggedComponent tc)
           
static int extract_group_version(org.omg.CORBA.ORB orb, org.omg.IOP.TaggedProfile profile)
           
static java.lang.Object extract_obj_from_any(org.omg.CORBA.Any any)
           
static long extract_oid_l(java.lang.String id)
           
static byte[] extract_oid(java.lang.String id)
           
static boolean extract_primary(org.omg.CORBA.ORB orb, org.omg.IOP.TaggedComponent component)
           
static int extract_repl_style(org.omg.CORBA.ORB orb, org.omg.IOP.TaggedProfile tp)
           
static org.omg.IOP.TaggedComponent extract_tagged_comp(org.omg.CORBA.ORB orb, org.omg.IOP.TaggedProfile t_prof)
           
static java.lang.String get_class_helper_s(java.lang.String class_n)
           
static java.lang.String get_class_helper(java.lang.String type_id)
           
static java.lang.String get_class_name(java.lang.String type_id)
           
static java.lang.Class get_class(java.lang.String type_id)
           
static org.omg.FT.CallLogRecord get_clr(int disc, org.omg.FT.SomeLogRecord slr)
           
static org.omg.IOP.IOR get_ior(org.omg.CORBA.Object obj)
           
static org.omg.IOP.IOR get_ior(org.omg.CORBA.Object[] obj)
           
static org.omg.CORBA.Any give_any(org.omg.CORBA.ORB orb, java.lang.Object result, boolean holder)
           
static byte[] give_byte_type(org.omg.CORBA.Any any)
           
static java.lang.String give_class_name(org.omg.CORBA.Any any)
           
static java.lang.String give_location(org.omg.CORBA.ORB orb, org.omg.IOP.IOR ior)
           
static java.lang.String give_location(org.omg.CORBA.ORB orb, org.omg.CORBA.Object obj)
           
static java.lang.String[] give_locations(org.omg.CORBA.ORB orb, org.omg.IOP.IOR ior)
           
static java.lang.Object give_object_holder(org.omg.CORBA.Any any, boolean typecode_only)
           
static java.lang.Object give_object(org.omg.CORBA.Any any)
           
static boolean has_primary(org.omg.CORBA.ORB orb, org.omg.CORBA.Object group)
           
static java.lang.Object holder_with_value(org.omg.CORBA.Any any, boolean typecode_only)
           
private static boolean include(org.omg.CosNotification.Property[] a, org.omg.CosNotification.Property[] b)
           
static void insert_obj_read_seq(org.omg.CORBA.Any any, org.omg.CORBA.portable.InputStream input, org.omg.CORBA.TypeCode seq_tc)
           
static void insert_obj_read(org.omg.CORBA.Any any, org.omg.CORBA.portable.InputStream input)
           
static void invoke_helper_method(java.lang.String oper, java.lang.String class_n, java.lang.Object[] params)
           
static boolean is_group_ref(org.omg.CORBA.ORB orb, org.omg.IOP.IOR ior)
           
static boolean is_primary(org.omg.CORBA.ORB orb, org.omg.IOP.IOR ior, java.lang.String location)
           
static boolean is_primary(org.omg.CORBA.ORB orb, org.omg.CORBA.Object obj, java.lang.String location)
           
static boolean is_read_method(java.lang.String mn, org.omg.FT.MethStr[] method_table)
           
static boolean is_true(boolean[] array, int how_many)
           
static java.lang.String[] makeByteArgs(byte[] id)
           
static long makeByteId(byte[] id)
           
static int makeByteInt(byte[] b)
           
static byte[] makeIdByte(long id)
           
static byte[] makeIntByte(int nr)
           
static byte[] makeShortByte(short v)
           
static double max(double[] arr)
           
static int max(int i, int j)
           
static org.omg.IOP.IOR merge_unique_iors(java.lang.String type_id, org.omg.IOP.IOR[] iors)
           
static org.omg.FT.MethSignStr method_structure(java.lang.String mn, org.omg.FT.MethSignStr[] method_table)
           
static char method_type(java.lang.String mn, org.omg.FT.MethSignStr[] method_table)
           
static double min(double[] arr)
           
static int min(int i, int j)
           
static java.lang.Object narrow(org.omg.CORBA.Object obj, java.lang.String type_id)
           
static org.omg.CosNotification.Property[] parse_constraint_expr(java.lang.String constraint_expr)
           
static java.lang.String[] parse_ft_dom_file(java.lang.String ft_dom_name)
           
static boolean pass_filter(org.omg.CosNotification.StructuredEvent e, org.omg.CosNotifyFilter.Filter f)
           
static int primary_prof_ind(org.omg.CORBA.ORB orb, org.omg.IOP.IOR ior)
           
static void print_IOR(org.omg.CORBA.ORB orb, org.omg.IOP.IOR ior)
           
static void print_profile(org.omg.CORBA.ORB orb, org.omg.IOP.TaggedProfile pr)
           
static void print_type(org.omg.CORBA.Any any)
           
static org.omg.IIOP.ProfileBody_1_1 profile_body(org.omg.CORBA.ORB orb, org.omg.IOP.TaggedProfile tp)
           
static boolean profiles_eq(org.omg.CORBA.ORB orb, org.omg.IIOP.ProfileBody_1_1 pr1, org.omg.IIOP.ProfileBody_1_1 pr2)
           
static boolean profiles_eq(org.omg.CORBA.ORB orb, org.omg.IOP.TaggedProfile pr1, org.omg.IOP.TaggedProfile pr2)
           
static java.util.Vector prop_v_union_o(java.util.Vector v1, java.util.Vector v2, java.util.Vector v3)
           
static java.util.Vector prop_v_union(java.util.Vector v1, java.util.Vector v2, int override)
           
static org.omg.Dynamic.Parameter[] read_args_transp(java.lang.String oper, org.omg.FT.MethSignStr method_s, org.openorb.net.ServerRequest ri, org.openorb.PI.OpenORBInitInfo info)
           
static org.omg.Dynamic.Parameter[] read_args_transp(java.lang.String oper, org.openorb.net.ServerRequest ri, org.openorb.PI.OpenORBInitInfo info)
           
static org.omg.Dynamic.Parameter[] read_args(org.omg.CORBA.ORB orb, org.omg.FT.MethSignStr method_s, org.openorb.iiop.CDRInputStream is)
           
static org.omg.FT.ObjectLocStr[] read_ch_m_arg_tr(org.openorb.net.ServerRequest ri, org.openorb.PI.OpenORBInitInfo info)
           
static void read_input_stream(org.omg.CORBA.portable.InputStream input, org.omg.CORBA.Any guide, boolean typecode_only)
           
static java.lang.Object read_param(org.omg.CORBA.portable.InputStream input, java.lang.String type)
           
static java.lang.String read_push_s_e_loc_tr(org.openorb.net.ServerRequest ri, org.openorb.PI.OpenORBInitInfo info)
           
static void read_state_arg_tr(org.openorb.net.ServerRequest ri, org.openorb.PI.OpenORBInitInfo info)
           
static byte[] readRealState(byte[] fake_state)
           
static int readRetId(byte[] fake_state)
           
static boolean refs_equal(org.omg.CORBA.ORB orb, org.omg.CORBA.Object ref1, org.omg.CORBA.Object ref2, int how_many_profiles)
           
static java.lang.String repl_s_string(int repl_s)
           
static void replay_last_requests(java.lang.Object the_obj, long obj_id, org.omg.FT.LogRecord[] last_requests, org.omg.FT.LogRecord[] last_requests_nr, org.omg.FT.LoggingRecoveryController callback, int retention_id, org.openorb.CORBA.ORB orb, org.omg.FT.MethSignStr[] methods)
           
static boolean request_result_readable(org.omg.CORBA.Any result)
           
static org.omg.CosNaming.NamingContext resolve_n(org.omg.CosNaming.NamingContext ncx, org.omg.CosNaming.NameComponent[] ncs)
           
static org.omg.CORBA.Object[] separate_objects(java.lang.String type_id, org.omg.CORBA.Object group, org.omg.CORBA.ORB orb)
           
static void set_false(boolean[] array, int where)
           
static void set_true(boolean[] array)
           
static void trace(int moment_code, int size, long time, long obj_id, java.io.RandomAccessFile raf)
           
static void trace(int moment_code, int retention_id, java.lang.String client_id, long time, java.lang.String oper_name, java.io.RandomAccessFile raf)
           
static void trace(int moment_code, long group_id, int nr_of_repl, int replication_s, long time, java.io.RandomAccessFile raf)
           
static void trace(java.lang.String message, java.io.RandomAccessFile raf)
           
static java.lang.String type_id(org.omg.CORBA.Object o)
           
static void type_id(java.lang.String type_id, org.omg.CORBA.Object o)
           
static org.omg.IOP.IOR update_group_ior_add_pr(org.omg.CORBA.ORB orb, org.omg.IOP.IOR ior, org.omg.IOP.IOR extra_ior, int position, boolean change_group_v)
           
static org.omg.IOP.IOR update_group_ior_add(org.omg.CORBA.ORB orb, org.omg.IOP.IOR ior, org.omg.IOP.IOR extra_ior, int position, boolean change_group_v)
           
static org.omg.IOP.IOR update_group_ior_rem(org.omg.CORBA.ORB orb, org.omg.IOP.IOR ior, org.omg.IOP.IOR rem_ior, boolean change_group_v)
           
static void write_obj_extract_seq(org.omg.CORBA.Any any, org.omg.CORBA.portable.OutputStream os, org.omg.CORBA.TypeCode seq_tc)
           
static void write_obj_extract(org.omg.CORBA.Any any, org.omg.CORBA.portable.OutputStream os)
           
static void write_output_stream(org.omg.CORBA.Any any, org.omg.CORBA.portable.OutputStream os)
           
static void write_result(org.omg.CORBA.portable.OutputStream output, java.lang.Object result)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

semaphor

private static java.lang.Object semaphor

ft_dom_name_fn

private static java.lang.String ft_dom_name_fn

UPDATE_VOID

public static final char UPDATE_VOID
See Also:
Constant Field Values

UPDATE_NON_VOID

public static final char UPDATE_NON_VOID
See Also:
Constant Field Values

UPDATE_ONEWAY

public static final char UPDATE_ONEWAY
See Also:
Constant Field Values

READ

public static final char READ
See Also:
Constant Field Values

START_CALL_BY_CLIENT

public static final int START_CALL_BY_CLIENT
See Also:
Constant Field Values

EXIT_SEND_REQUEST

public static final int EXIT_SEND_REQUEST
See Also:
Constant Field Values

ENTER_RECEIVE_REQUEST

public static final int ENTER_RECEIVE_REQUEST
See Also:
Constant Field Values

YES_REQUEST_RIGHT_PLACE

public static final int YES_REQUEST_RIGHT_PLACE
See Also:
Constant Field Values

SEND_FORWARD_EXC

public static final int SEND_FORWARD_EXC
See Also:
Constant Field Values

SEND_WR_PRIM_EXC

public static final int SEND_WR_PRIM_EXC
See Also:
Constant Field Values

SEND_REQ_EXP_EXC

public static final int SEND_REQ_EXP_EXC
See Also:
Constant Field Values

START_WAIT_GET_STATE

public static final int START_WAIT_GET_STATE
See Also:
Constant Field Values

STOP_WAIT_GET_STATE

public static final int STOP_WAIT_GET_STATE
See Also:
Constant Field Values

EXIT_RECEIVE_REQUEST

public static final int EXIT_RECEIVE_REQUEST
See Also:
Constant Field Values

ENTER_SEND_REPLY

public static final int ENTER_SEND_REPLY
See Also:
Constant Field Values

EXIT_SEND_REPLY

public static final int EXIT_SEND_REPLY
See Also:
Constant Field Values

ENTER_RECEIVE_REPLY

public static final int ENTER_RECEIVE_REPLY
See Also:
Constant Field Values

EXIT_RECEIVE_REPLY

public static final int EXIT_RECEIVE_REPLY
See Also:
Constant Field Values

END_CALL_BY_CLIENT

public static final int END_CALL_BY_CLIENT
See Also:
Constant Field Values

ENTER_RECEIVE_REQUEST_G

public static final int ENTER_RECEIVE_REQUEST_G
See Also:
Constant Field Values

BEG_SYNCH_FAILOVER

public static final int BEG_SYNCH_FAILOVER
See Also:
Constant Field Values

END_SYNCH_FAILOVER

public static final int END_SYNCH_FAILOVER
See Also:
Constant Field Values

EXIT_SEND_REPLY_GW

public static final int EXIT_SEND_REPLY_GW
See Also:
Constant Field Values

END_SYNCH_SEND_CALLS

public static final int END_SYNCH_SEND_CALLS
See Also:
Constant Field Values

GW_SEND_TRANSIENT

public static final int GW_SEND_TRANSIENT
See Also:
Constant Field Values

GW_SEND_REQUESTS

public static final int GW_SEND_REQUESTS
See Also:
Constant Field Values

RECEIVE_FIRST_REPLY

public static final int RECEIVE_FIRST_REPLY
See Also:
Constant Field Values

ENTER_SEND_REQUEST

public static final int ENTER_SEND_REQUEST
See Also:
Constant Field Values

CALL_INVOKE

public static final int CALL_INVOKE
See Also:
Constant Field Values

INV_EXITS_SEND_REQUEST

public static final int INV_EXITS_SEND_REQUEST
See Also:
Constant Field Values

START_WAIT_ANSWER_GW

public static final int START_WAIT_ANSWER_GW
See Also:
Constant Field Values

GET_ANSWER_GW

public static final int GET_ANSWER_GW
See Also:
Constant Field Values

THROW_REPLY_HERE

public static final int THROW_REPLY_HERE
See Also:
Constant Field Values

REPL_MAN_BEGIN_REC

public static final int REPL_MAN_BEGIN_REC
See Also:
Constant Field Values

REPL_MAN_END_REC

public static final int REPL_MAN_END_REC
See Also:
Constant Field Values

REPL_MAN_REC_F_NOT

public static final int REPL_MAN_REC_F_NOT
See Also:
Constant Field Values

REPL_MAN_BEGIN_CR_OBJ

public static final int REPL_MAN_BEGIN_CR_OBJ
See Also:
Constant Field Values

REPL_MAN_END_CR_OBJ

public static final int REPL_MAN_END_CR_OBJ
See Also:
Constant Field Values

EXIT_REPLY_ALREADY_THERE

public static final int EXIT_REPLY_ALREADY_THERE
See Also:
Constant Field Values

RECEIVE_EXCEPTION

public static final int RECEIVE_EXCEPTION
See Also:
Constant Field Values

RECEIVE_OTHER

public static final int RECEIVE_OTHER
See Also:
Constant Field Values

SEND_REQ_EXP_EXC_GW

public static final int SEND_REQ_EXP_EXC_GW
See Also:
Constant Field Values

SEND_EXCEPTION

public static final int SEND_EXCEPTION
See Also:
Constant Field Values

SEND_OTHER

public static final int SEND_OTHER
See Also:
Constant Field Values

SEND_EXCEPTION_RM

public static final int SEND_EXCEPTION_RM
See Also:
Constant Field Values

SEND_OTHER_RM

public static final int SEND_OTHER_RM
See Also:
Constant Field Values

START_GET_STATE

public static final int START_GET_STATE
See Also:
Constant Field Values

STOP_GET_STATE

public static final int STOP_GET_STATE
See Also:
Constant Field Values

START_GET_UPDATE

public static final int START_GET_UPDATE
See Also:
Constant Field Values

STOP_GET_UPDATE

public static final int STOP_GET_UPDATE
See Also:
Constant Field Values

START_REC_BR_METHOD_CALL

public static final int START_REC_BR_METHOD_CALL
See Also:
Constant Field Values

STOP_REC_BR_METHOD_CALL

public static final int STOP_REC_BR_METHOD_CALL
See Also:
Constant Field Values

START_REC_BR_REPLY

public static final int START_REC_BR_REPLY
See Also:
Constant Field Values

STOP_REC_BR_REPLY

public static final int STOP_REC_BR_REPLY
See Also:
Constant Field Values

START_REC_METHOD_CALL

public static final int START_REC_METHOD_CALL
See Also:
Constant Field Values

STOP_REC_METHOD_CALL

public static final int STOP_REC_METHOD_CALL
See Also:
Constant Field Values

START_REC_REPLY

public static final int START_REC_REPLY
See Also:
Constant Field Values

STOP_REC_REPLY

public static final int STOP_REC_REPLY
See Also:
Constant Field Values

REPL_MAN_BEG_GET_STATE

public static final int REPL_MAN_BEG_GET_STATE
See Also:
Constant Field Values

REPL_MAN_END_GET_STATE

public static final int REPL_MAN_END_GET_STATE
See Also:
Constant Field Values

REPL_MAN_BEG_SET_STATE

public static final int REPL_MAN_BEG_SET_STATE
See Also:
Constant Field Values

REPL_MAN_END_SET_STATE

public static final int REPL_MAN_END_SET_STATE
See Also:
Constant Field Values

START_WAIT_UPD_OPER

public static final int START_WAIT_UPD_OPER
See Also:
Constant Field Values

STOP_WAIT_UPD_OPER

public static final int STOP_WAIT_UPD_OPER
See Also:
Constant Field Values

START_GET_S_WAIT

public static final int START_GET_S_WAIT
See Also:
Constant Field Values

STOP_GET_S_WAIT

public static final int STOP_GET_S_WAIT
See Also:
Constant Field Values

START_GET_U_WAIT

public static final int START_GET_U_WAIT
See Also:
Constant Field Values

STOP_GET_U_WAIT

public static final int STOP_GET_U_WAIT
See Also:
Constant Field Values

START_GET_STATE_CALL

public static final int START_GET_STATE_CALL
See Also:
Constant Field Values

STOP_GET_STATE_CALL

public static final int STOP_GET_STATE_CALL
See Also:
Constant Field Values

START_STATE_REC

public static final int START_STATE_REC
See Also:
Constant Field Values

STOP_STATE_REC

public static final int STOP_STATE_REC
See Also:
Constant Field Values

SEND_GET_STATE_REQ

public static final int SEND_GET_STATE_REQ
See Also:
Constant Field Values

REC_GET_STATE_REQ

public static final int REC_GET_STATE_REQ
See Also:
Constant Field Values

SEND_GET_STATE_REPLY

public static final int SEND_GET_STATE_REPLY
See Also:
Constant Field Values

REC_GET_STATE_REPLY

public static final int REC_GET_STATE_REPLY
See Also:
Constant Field Values

START_GET_UPDATE_CALL

public static final int START_GET_UPDATE_CALL
See Also:
Constant Field Values

STOP_GET_UPDATE_CALL

public static final int STOP_GET_UPDATE_CALL
See Also:
Constant Field Values

START_UPDATE_REC

public static final int START_UPDATE_REC
See Also:
Constant Field Values

STOP_UPDATE_REC

public static final int STOP_UPDATE_REC
See Also:
Constant Field Values

SEND_GET_UPDATE_REQ

public static final int SEND_GET_UPDATE_REQ
See Also:
Constant Field Values

REC_GET_UPDATE_REQ

public static final int REC_GET_UPDATE_REQ
See Also:
Constant Field Values

SEND_GET_UPDATE_REPLY

public static final int SEND_GET_UPDATE_REPLY
See Also:
Constant Field Values

REC_GET_UPDATE_REPLY

public static final int REC_GET_UPDATE_REPLY
See Also:
Constant Field Values

START_SET_STATE

public static final int START_SET_STATE
See Also:
Constant Field Values

STOP_SET_STATE

public static final int STOP_SET_STATE
See Also:
Constant Field Values

BACKUP_SYNCH

public static java.lang.Object BACKUP_SYNCH
Constructor Detail

Utils

public Utils()
Method Detail

max

public static int max(int i,
                      int j)

min

public static int min(int i,
                      int j)

max

public static double max(double[] arr)

min

public static double min(double[] arr)

set_true

public static void set_true(boolean[] array)

set_false

public static void set_false(boolean[] array,
                             int where)

is_true

public static boolean is_true(boolean[] array,
                              int how_many)

makeIdByte

public static byte[] makeIdByte(long id)

makeByteArgs

public static java.lang.String[] makeByteArgs(byte[] id)

makeByteId

public static long makeByteId(byte[] id)

add_ret_id_state

public static byte[] add_ret_id_state(byte[] state,
                                      int ret_id)

readRetId

public static int readRetId(byte[] fake_state)

readRealState

public static byte[] readRealState(byte[] fake_state)

makeIntByte

public static byte[] makeIntByte(int nr)

makeByteInt

public static int makeByteInt(byte[] b)

makeShortByte

public static byte[] makeShortByte(short v)

extract_oid

public static byte[] extract_oid(java.lang.String id)

extract_oid_l

public static long extract_oid_l(java.lang.String id)

byte_a_equal

public static boolean byte_a_equal(byte[] a1,
                                   byte[] a2)

repl_s_string

public static java.lang.String repl_s_string(int repl_s)

read_param

public static java.lang.Object read_param(org.omg.CORBA.portable.InputStream input,
                                          java.lang.String type)

write_result

public static void write_result(org.omg.CORBA.portable.OutputStream output,
                                java.lang.Object result)

give_byte_type

public static byte[] give_byte_type(org.omg.CORBA.Any any)

give_class_name

public static java.lang.String give_class_name(org.omg.CORBA.Any any)

give_any

public static org.omg.CORBA.Any give_any(org.omg.CORBA.ORB orb,
                                         java.lang.Object result,
                                         boolean holder)

request_result_readable

public static boolean request_result_readable(org.omg.CORBA.Any result)

print_type

public static void print_type(org.omg.CORBA.Any any)

give_object

public static java.lang.Object give_object(org.omg.CORBA.Any any)

give_object_holder

public static java.lang.Object give_object_holder(org.omg.CORBA.Any any,
                                                  boolean typecode_only)

read_input_stream

public static void read_input_stream(org.omg.CORBA.portable.InputStream input,
                                     org.omg.CORBA.Any guide,
                                     boolean typecode_only)

read_state_arg_tr

public static void read_state_arg_tr(org.openorb.net.ServerRequest ri,
                                     org.openorb.PI.OpenORBInitInfo info)
                              throws org.omg.CORBA.BAD_PARAM
org.omg.CORBA.BAD_PARAM

read_ch_m_arg_tr

public static org.omg.FT.ObjectLocStr[] read_ch_m_arg_tr(org.openorb.net.ServerRequest ri,
                                                         org.openorb.PI.OpenORBInitInfo info)
                                                  throws org.omg.CORBA.BAD_PARAM
org.omg.CORBA.BAD_PARAM

read_push_s_e_loc_tr

public static java.lang.String read_push_s_e_loc_tr(org.openorb.net.ServerRequest ri,
                                                    org.openorb.PI.OpenORBInitInfo info)
                                             throws org.omg.CORBA.BAD_PARAM
org.omg.CORBA.BAD_PARAM

get_clr

public static org.omg.FT.CallLogRecord get_clr(int disc,
                                               org.omg.FT.SomeLogRecord slr)

read_args_transp

public static org.omg.Dynamic.Parameter[] read_args_transp(java.lang.String oper,
                                                           org.openorb.net.ServerRequest ri,
                                                           org.openorb.PI.OpenORBInitInfo info)
                                                    throws org.omg.CORBA.BAD_PARAM
org.omg.CORBA.BAD_PARAM

read_args_transp

public static org.omg.Dynamic.Parameter[] read_args_transp(java.lang.String oper,
                                                           org.omg.FT.MethSignStr method_s,
                                                           org.openorb.net.ServerRequest ri,
                                                           org.openorb.PI.OpenORBInitInfo info)
                                                    throws org.omg.CORBA.BAD_PARAM
org.omg.CORBA.BAD_PARAM

read_args

public static org.omg.Dynamic.Parameter[] read_args(org.omg.CORBA.ORB orb,
                                                    org.omg.FT.MethSignStr method_s,
                                                    org.openorb.iiop.CDRInputStream is)
                                             throws org.omg.CORBA.BAD_PARAM
org.omg.CORBA.BAD_PARAM

write_output_stream

public static void write_output_stream(org.omg.CORBA.Any any,
                                       org.omg.CORBA.portable.OutputStream os)

resolve_n

public static org.omg.CosNaming.NamingContext resolve_n(org.omg.CosNaming.NamingContext ncx,
                                                        org.omg.CosNaming.NameComponent[] ncs)

bind_context

public static org.omg.CosNaming.NamingContext bind_context(org.omg.CosNaming.NamingContext ncx,
                                                           org.omg.CosNaming.NameComponent[] ncs)

separate_objects

public static org.omg.CORBA.Object[] separate_objects(java.lang.String type_id,
                                                      org.omg.CORBA.Object group,
                                                      org.omg.CORBA.ORB orb)

contains_tag_group

public static boolean contains_tag_group(org.omg.IOP.TaggedProfile tp,
                                         org.omg.CORBA.ORB orb)

get_ior

public static org.omg.IOP.IOR get_ior(org.omg.CORBA.Object obj)

get_ior

public static org.omg.IOP.IOR get_ior(org.omg.CORBA.Object[] obj)

print_IOR

public static void print_IOR(org.omg.CORBA.ORB orb,
                             org.omg.IOP.IOR ior)

print_profile

public static void print_profile(org.omg.CORBA.ORB orb,
                                 org.omg.IOP.TaggedProfile pr)

give_location

public static java.lang.String give_location(org.omg.CORBA.ORB orb,
                                             org.omg.CORBA.Object obj)

give_location

public static java.lang.String give_location(org.omg.CORBA.ORB orb,
                                             org.omg.IOP.IOR ior)

give_locations

public static java.lang.String[] give_locations(org.omg.CORBA.ORB orb,
                                                org.omg.IOP.IOR ior)

merge_unique_iors

public static org.omg.IOP.IOR merge_unique_iors(java.lang.String type_id,
                                                org.omg.IOP.IOR[] iors)

prop_v_union

public static java.util.Vector prop_v_union(java.util.Vector v1,
                                            java.util.Vector v2,
                                            int override)

prop_v_union_o

public static java.util.Vector prop_v_union_o(java.util.Vector v1,
                                              java.util.Vector v2,
                                              java.util.Vector v3)

type_id

public static java.lang.String type_id(org.omg.CORBA.Object o)

type_id

public static void type_id(java.lang.String type_id,
                           org.omg.CORBA.Object o)

ext_profile_tag

public static org.omg.IOP.TaggedProfile ext_profile_tag(org.omg.CORBA.ORB orb,
                                                        org.omg.IOP.TaggedProfile pr,
                                                        org.omg.CORBA.portable.IDLEntity tftc,
                                                        int tag)

extract_tagged_comp

public static org.omg.IOP.TaggedComponent extract_tagged_comp(org.omg.CORBA.ORB orb,
                                                              org.omg.IOP.TaggedProfile t_prof)

has_primary

public static boolean has_primary(org.omg.CORBA.ORB orb,
                                  org.omg.CORBA.Object group)

update_group_ior_add

public static org.omg.IOP.IOR update_group_ior_add(org.omg.CORBA.ORB orb,
                                                   org.omg.IOP.IOR ior,
                                                   org.omg.IOP.IOR extra_ior,
                                                   int position,
                                                   boolean change_group_v)

update_group_ior_add_pr

public static org.omg.IOP.IOR update_group_ior_add_pr(org.omg.CORBA.ORB orb,
                                                      org.omg.IOP.IOR ior,
                                                      org.omg.IOP.IOR extra_ior,
                                                      int position,
                                                      boolean change_group_v)

update_group_ior_rem

public static org.omg.IOP.IOR update_group_ior_rem(org.omg.CORBA.ORB orb,
                                                   org.omg.IOP.IOR ior,
                                                   org.omg.IOP.IOR rem_ior,
                                                   boolean change_group_v)

extract_group_version

public static int extract_group_version(org.omg.CORBA.ORB orb,
                                        org.omg.IOP.TaggedComponent tc)

extract_group_version

public static int extract_group_version(org.omg.CORBA.ORB orb,
                                        org.omg.IOP.TaggedProfile profile)

extract_group_vers_and_id

public static long[] extract_group_vers_and_id(org.omg.CORBA.ORB orb,
                                               org.omg.IOP.TaggedProfile profile)

extract_group_version

public static int extract_group_version(org.omg.CORBA.ORB orb,
                                        org.omg.IOP.IOR ior)

is_primary

public static boolean is_primary(org.omg.CORBA.ORB orb,
                                 org.omg.IOP.IOR ior,
                                 java.lang.String location)

is_primary

public static boolean is_primary(org.omg.CORBA.ORB orb,
                                 org.omg.CORBA.Object obj,
                                 java.lang.String location)

extract_ft_dom_n

public static java.lang.String extract_ft_dom_n(org.omg.CORBA.ORB orb,
                                                org.omg.CORBA.Object ref)

extract_primary

public static boolean extract_primary(org.omg.CORBA.ORB orb,
                                      org.omg.IOP.TaggedComponent component)

change_primary

public static org.omg.IOP.IOR change_primary(org.omg.CORBA.ORB orb,
                                             org.omg.IOP.IOR group_ior,
                                             org.omg.IOP.IOR pr_ior,
                                             boolean change_gr_v)

body_profile

public static org.omg.IOP.TaggedProfile body_profile(org.omg.CORBA.ORB orb,
                                                     org.omg.IIOP.ProfileBody_1_1 pb11)

profile_body

public static org.omg.IIOP.ProfileBody_1_1 profile_body(org.omg.CORBA.ORB orb,
                                                        org.omg.IOP.TaggedProfile tp)

is_group_ref

public static boolean is_group_ref(org.omg.CORBA.ORB orb,
                                   org.omg.IOP.IOR ior)

extract_group_id

public static long extract_group_id(org.omg.CORBA.ORB orb,
                                    org.omg.IOP.IOR ior)

extract_group_id

public static long extract_group_id(org.omg.CORBA.ORB orb,
                                    org.omg.CORBA.Object obj)

extract_repl_style

public static int extract_repl_style(org.omg.CORBA.ORB orb,
                                     org.omg.IOP.TaggedProfile tp)

primary_prof_ind

public static int primary_prof_ind(org.omg.CORBA.ORB orb,
                                   org.omg.IOP.IOR ior)

profiles_eq

public static boolean profiles_eq(org.omg.CORBA.ORB orb,
                                  org.omg.IOP.TaggedProfile pr1,
                                  org.omg.IOP.TaggedProfile pr2)

profiles_eq

public static boolean profiles_eq(org.omg.CORBA.ORB orb,
                                  org.omg.IIOP.ProfileBody_1_1 pr1,
                                  org.omg.IIOP.ProfileBody_1_1 pr2)

refs_equal

public static boolean refs_equal(org.omg.CORBA.ORB orb,
                                 org.omg.CORBA.Object ref1,
                                 org.omg.CORBA.Object ref2,
                                 int how_many_profiles)

get_class

public static java.lang.Class get_class(java.lang.String type_id)

get_class_helper

public static java.lang.String get_class_helper(java.lang.String type_id)

get_class_helper_s

public static java.lang.String get_class_helper_s(java.lang.String class_n)

get_class_name

public static java.lang.String get_class_name(java.lang.String type_id)

insert_obj_read

public static void insert_obj_read(org.omg.CORBA.Any any,
                                   org.omg.CORBA.portable.InputStream input)

insert_obj_read_seq

public static void insert_obj_read_seq(org.omg.CORBA.Any any,
                                       org.omg.CORBA.portable.InputStream input,
                                       org.omg.CORBA.TypeCode seq_tc)

write_obj_extract

public static void write_obj_extract(org.omg.CORBA.Any any,
                                     org.omg.CORBA.portable.OutputStream os)

write_obj_extract_seq

public static void write_obj_extract_seq(org.omg.CORBA.Any any,
                                         org.omg.CORBA.portable.OutputStream os,
                                         org.omg.CORBA.TypeCode seq_tc)

extract_obj_from_any

public static java.lang.Object extract_obj_from_any(org.omg.CORBA.Any any)

holder_with_value

public static java.lang.Object holder_with_value(org.omg.CORBA.Any any,
                                                 boolean typecode_only)

invoke_helper_method

public static void invoke_helper_method(java.lang.String oper,
                                        java.lang.String class_n,
                                        java.lang.Object[] params)

narrow

public static java.lang.Object narrow(org.omg.CORBA.Object obj,
                                      java.lang.String type_id)

is_read_method

public static boolean is_read_method(java.lang.String mn,
                                     org.omg.FT.MethStr[] method_table)

method_type

public static char method_type(java.lang.String mn,
                               org.omg.FT.MethSignStr[] method_table)

method_structure

public static org.omg.FT.MethSignStr method_structure(java.lang.String mn,
                                                      org.omg.FT.MethSignStr[] method_table)

parse_constraint_expr

public static org.omg.CosNotification.Property[] parse_constraint_expr(java.lang.String constraint_expr)

pass_filter

public static boolean pass_filter(org.omg.CosNotification.StructuredEvent e,
                                  org.omg.CosNotifyFilter.Filter f)

include

private static boolean include(org.omg.CosNotification.Property[] a,
                               org.omg.CosNotification.Property[] b)

create_client_id

public static java.lang.String create_client_id()

parse_ft_dom_file

public static java.lang.String[] parse_ft_dom_file(java.lang.String ft_dom_name)

trace

public static void trace(java.lang.String message,
                         java.io.RandomAccessFile raf)

trace

public static void trace(int moment_code,
                         int retention_id,
                         java.lang.String client_id,
                         long time,
                         java.lang.String oper_name,
                         java.io.RandomAccessFile raf)

trace

public static void trace(int moment_code,
                         int size,
                         long time,
                         long obj_id,
                         java.io.RandomAccessFile raf)

trace

public static void trace(int moment_code,
                         long group_id,
                         int nr_of_repl,
                         int replication_s,
                         long time,
                         java.io.RandomAccessFile raf)

exec_meth

private static void exec_meth(java.lang.Object obj,
                              long o_i,
                              org.omg.FT.LogRecord[] last_req,
                              org.omg.FT.LoggingRecoveryController cb,
                              org.omg.FT.MethSignStr[] method_sign,
                              org.omg.CORBA.ORB orb)

replay_last_requests

public static void replay_last_requests(java.lang.Object the_obj,
                                        long obj_id,
                                        org.omg.FT.LogRecord[] last_requests,
                                        org.omg.FT.LogRecord[] last_requests_nr,
                                        org.omg.FT.LoggingRecoveryController callback,
                                        int retention_id,
                                        org.openorb.CORBA.ORB orb,
                                        org.omg.FT.MethSignStr[] methods)