本文整理了Java中org.omg.CORBA.portable.OutputStream.write_ulong()
方法的一些代码示例,展示了OutputStream.write_ulong()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。OutputStream.write_ulong()
方法的具体详情如下:
包路径:org.omg.CORBA.portable.OutputStream
类名称:OutputStream
方法名:write_ulong
暂无
代码示例来源:origin: org.jboss.openjdk-orb/openjdk-orb
public void bound (int newBound)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_bound", true);
$out.write_ulong (newBound);
$in = _invoke ($out);
return;
} 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) {
bound (newBound );
} finally {
_releaseReply ($in);
}
} // bound
代码示例来源:origin: jbosstm/narayana
_os.write_ulong(seconds);
_is = _invoke(_os);
return;
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
_os.write_ulong(seconds);
_is = _invoke(_os);
return;
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: org.jboss.openjdk-orb/openjdk-orb
public void length (int newLength)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_length", true);
$out.write_ulong (newLength);
$in = _invoke ($out);
return;
} 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) {
length (newLength );
} finally {
_releaseReply ($in);
}
} // length
代码示例来源:origin: jbosstm/narayana
_os.write_ulong(key);
_is = _invoke(_os);
return;
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: org.apache.yoko/yoko-spec-corba
public void set_timeout (int seconds)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("set_timeout", true);
$out.write_ulong (seconds);
$in = _invoke ($out);
return;
} 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) {
set_timeout (seconds );
} finally {
_releaseReply ($in);
}
} // set_timeout
代码示例来源:origin: jbosstm/narayana
_os.write_ulong(time_out);
_is = _invoke(_os);
org.omg.CosTransactions.Control _result = org.omg.CosTransactions.ControlHelper.read(_is);
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 void set_timeout (int seconds)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("set_timeout", true);
$out.write_ulong (seconds);
$in = _invoke ($out);
return;
} 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) {
set_timeout (seconds );
} finally {
_releaseReply ($in);
}
} // set_timeout
代码示例来源:origin: jbosstm/narayana
_os.write_ulong(time_out);
_is = _invoke(_os);
org.omg.CosTransactions.Control _result = org.omg.CosTransactions.ControlHelper.read(_is);
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: org.jboss.openjdk-orb/openjdk-orb
public void bound (int newBound)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_bound", true);
$out.write_ulong (newBound);
$in = _invoke ($out);
return;
} 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) {
bound (newBound );
} finally {
_releaseReply ($in);
}
} // bound
代码示例来源:origin: org.jacorb/jacorb-omgapi
_os.write_ulong(a);
_is = _invoke(_os);
return;
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
public void bound (int newBound)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("_set_bound", true);
$out.write_ulong (newBound);
$in = _invoke ($out);
return;
} 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) {
bound (newBound );
} finally {
_releaseReply ($in);
}
} // bound
代码示例来源:origin: org.jacorb/jacorb-omgapi
_os.write_ulong(a);
_is = _invoke(_os);
return;
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 void set_timeout (int seconds)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("set_timeout", true);
$out.write_ulong (seconds);
$in = _invoke ($out);
return;
} 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) {
set_timeout (seconds );
} finally {
_releaseReply ($in);
}
} // set_timeout
代码示例来源:origin: org.jacorb/jacorb-omgapi
_os.write_ulong(a);
_is = _invoke(_os);
return;
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 void unregister_before_completion_callback (int key)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("unregister_before_completion_callback", true);
$out.write_ulong (key);
$in = _invoke ($out);
return;
} 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) {
unregister_before_completion_callback (key );
} finally {
_releaseReply ($in);
}
} // unregister_before_completion_callback
代码示例来源:origin: jbosstm/narayana
_os.write_ulong(flags);
_is = _invoke(_os);
int _result = _is.read_long();
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: org.jboss.openjdk-orb/openjdk-orb
public org.omg.CORBA.StringDef create_string (int bound)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_string", true);
$out.write_ulong (bound);
$in = _invoke ($out);
org.omg.CORBA.StringDef $result = org.omg.CORBA.StringDefHelper.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 create_string (bound );
} finally {
_releaseReply ($in);
}
} // create_string
代码示例来源:origin: jbosstm/narayana
org.omg.CosTransactions.otid_tHelper.write(_os,txid);
_os.write_long(rmid);
_os.write_ulong(flags);
_is = _invoke(_os);
int _result = _is.read_long();
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: org.jboss.openjdk-orb/openjdk-orb
public org.omg.CORBA.WstringDef create_wstring (int bound)
{
org.omg.CORBA.portable.InputStream $in = null;
try {
org.omg.CORBA.portable.OutputStream $out = _request ("create_wstring", true);
$out.write_ulong (bound);
$in = _invoke ($out);
org.omg.CORBA.WstringDef $result = org.omg.CORBA.WstringDefHelper.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 create_wstring (bound );
} finally {
_releaseReply ($in);
}
} // create_wstring
内容来源于网络,如有侵权,请联系作者删除!