本文整理了Java中org.omg.CORBA.portable.InputStream.read_long()
方法的一些代码示例,展示了InputStream.read_long()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。InputStream.read_long()
方法的具体详情如下:
包路径:org.omg.CORBA.portable.InputStream
类名称:InputStream
方法名:read_long
暂无
代码示例来源:origin: jbosstm/narayana
public int xa_complete (org.omg.CORBA.IntHolder handle, org.omg.CORBA.IntHolder retval, int rmid, int flags)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("xa_complete", true);
$out.write_long (handle.value);
$out.write_long (retval.value);
$out.write_long (rmid);
$out.write_ulong (flags);
$in = _invoke ($out);
int $result = $in.read_long ();
handle.value = $in.read_long ();
retval.value = $in.read_long ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return xa_complete (handle, retval, rmid, flags );
} finally {
_releaseReply ($in);
}
} // xa_complete
代码示例来源:origin: jbosstm/narayana
int _result = _is.read_long();
return _result;
catch( org.omg.CORBA.portable.ApplicationException _ax )
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: jbosstm/narayana
int _result = _is.read_long();
return _result;
catch( org.omg.CORBA.portable.ApplicationException _ax )
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: jbosstm/narayana
public int version ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_version", true);
$in = _invoke ($out);
int $result = $in.read_long ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return version ( );
} finally {
_releaseReply ($in);
}
} // version
代码示例来源:origin: jbosstm/narayana
return _is.read_long();
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: jbosstm/narayana
public int rmid ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("rmid", true);
$in = _invoke ($out);
int $result = $in.read_long ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return rmid ( );
} finally {
_releaseReply ($in);
}
} // rmid
代码示例来源:origin: jbosstm/narayana
_os.write_ulong(flags);
_is = _invoke(_os);
int _result = _is.read_long();
handle.value = _is.read_long();
retval.value = _is.read_long();
return _result;
catch( org.omg.CORBA.portable.ApplicationException _ax )
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: jbosstm/narayana
public int get_timeout ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("get_timeout", true);
$in = _invoke ($out);
int $result = $in.read_long ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return get_timeout ( );
} finally {
_releaseReply ($in);
}
} // get_timeout
代码示例来源:origin: jbosstm/narayana
return _is.read_long();
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: jbosstm/narayana
public int type_id ()
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_get_type_id", true);
$in = _invoke ($out);
int $result = $in.read_long ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return type_id ( );
} finally {
_releaseReply ($in);
}
} // type_id
代码示例来源:origin: org.jacorb/jacorb
int _result = _is.read_long();
return _result;
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
org.omg.CORBA.portable.OutputStream $out = _request ("get_long", true);
$in = _invoke ($out);
int $result = $in.read_long ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:omg.org/DynamicAny/DynAny/TypeMismatch:1.0"))
throw org.omg.DynamicAny.DynAnyPackage.TypeMismatchHelper.read ($in);
代码示例来源:origin: org.jacorb/jacorb-services
int _result = _is.read_long();
return _result;
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
org.omg.CORBA.portable.OutputStream $out = _request ("get_long", true);
$in = _invoke ($out);
int $result = $in.read_long ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
if (_id.equals ("IDL:omg.org/DynamicAny/DynAny/TypeMismatch:1.0"))
throw org.omg.DynamicAny.DynAnyPackage.TypeMismatchHelper.read ($in);
代码示例来源:origin: org.jacorb/jacorb-services
int _result = _is.read_long();
return _result;
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: jbosstm/narayana
public int xa_end (org.omg.CosTransactions.otid_t txid, int rmid, int flags)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("xa_end", true);
org.omg.CosTransactions.otid_tHelper.write ($out, txid);
$out.write_long (rmid);
$out.write_ulong (flags);
$in = _invoke ($out);
int $result = $in.read_long ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return xa_end (txid, rmid, flags );
} finally {
_releaseReply ($in);
}
} // xa_end
代码示例来源:origin: org.jacorb/jacorb-services
int _result = _is.read_long();
return _result;
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: jbosstm/narayana
public int xa_rollback (org.omg.CosTransactions.otid_t txid, int rmid, int flags)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("xa_rollback", true);
org.omg.CosTransactions.otid_tHelper.write ($out, txid);
$out.write_long (rmid);
$out.write_ulong (flags);
$in = _invoke ($out);
int $result = $in.read_long ();
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return xa_rollback (txid, rmid, flags );
} finally {
_releaseReply ($in);
}
} // xa_rollback
代码示例来源:origin: org.jacorb/jacorb
int _result = _is.read_long();
return _result;
String _id = _ax.getId();
try
_ax.getInputStream().close();
throw new RuntimeException("Unexpected exception " + e.toString() );
_os.close();
throw new RuntimeException("Unexpected exception " + e.toString() );
代码示例来源:origin: jbosstm/narayana
public int xa_recover (org.omg.XA.XIDsHolder txid, int rmid, int flags)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("xa_recover", true);
$out.write_long (rmid);
$out.write_ulong (flags);
$in = _invoke ($out);
int $result = $in.read_long ();
txid.value = org.omg.XA.XIDsHelper.read ($in);
return $result;
} catch (org.omg.CORBA.portable.ApplicationException $ex) {
$in = $ex.getInputStream ();
String _id = $ex.getId ();
throw new org.omg.CORBA.MARSHAL (_id);
} catch (org.omg.CORBA.portable.RemarshalException $rm) {
return xa_recover (txid, rmid, flags );
} finally {
_releaseReply ($in);
}
} // xa_recover
内容来源于网络,如有侵权,请联系作者删除!