📄 accountpoatie.java
字号:
package corba.calculator.server.Bank;
/**
* <ul>
* <li> <b>IDL Source</b> "J:/java/corba/src/corba/calculator/server/sample1.idl"
* <li> <b>IDL Name</b> ::Bank::Account
* <li> <b>Repository Id</b> IDL:Bank/Account:1.0
* </ul>
* <b>IDL definition:</b>
* <pre>
* interface Account {
...
};
* </pre>
*/
public class AccountPOATie extends AccountPOA {
private corba.calculator.server.Bank.AccountOperations _delegate;
private org.omg.PortableServer.POA _poa;
public AccountPOATie (final corba.calculator.server.Bank.AccountOperations _delegate) {
this._delegate = _delegate;
}
public AccountPOATie (final corba.calculator.server.Bank.AccountOperations _delegate,
final org.omg.PortableServer.POA _poa) {
this._delegate = _delegate;
this._poa = _poa;
}
public corba.calculator.server.Bank.AccountOperations _delegate () {
return this._delegate;
}
public void _delegate (final corba.calculator.server.Bank.AccountOperations the_delegate) {
this._delegate = the_delegate;
}
public org.omg.PortableServer.POA _default_POA () {
if (_poa != null) {
return _poa;
}
else {
return super._default_POA();
}
}
/**
* <pre>
* float balance ();
* </pre>
*/
public float balance () {
return this._delegate.balance();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -