mud.common.idl.servers
Class _ServerStub
java.lang.Object
org.omg.CORBA.portable.ObjectImpl
mud.common.idl.servers._ServerStub
- All Implemented Interfaces:
- java.io.Serializable, Server, ServerOperations, org.omg.CORBA.Object, org.omg.CORBA.portable.IDLEntity
public class _ServerStub
- extends org.omg.CORBA.portable.ObjectImpl
- implements Server
mud/common/idl/servers/_ServerStub.java .
Generated by the IDL-to-Java compiler (portable), version "3.2"
from DOS.idl
Tuesday, October 28, 2008 12:27:46 PM CET
- See Also:
- Serialized Form
Method Summary |
java.lang.String[] |
_ids()
|
boolean |
action(int id,
int object_id,
int action_id)
|
boolean |
attack(int id)
|
char[][] |
getUsers(int id)
|
int |
login(char[] username,
char[] password,
Client location)
|
void |
logout(int id)
|
boolean |
move(int id,
int x,
int y)
|
void |
sendMessage(int id,
char[] message)
|
boolean |
useItem(int id,
int item_id)
|
Methods inherited from class org.omg.CORBA.portable.ObjectImpl |
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
_ServerStub
public _ServerStub()
login
public int login(char[] username,
char[] password,
Client location)
- Specified by:
login
in interface ServerOperations
logout
public void logout(int id)
throws InvalidSecurityToken
- Specified by:
logout
in interface ServerOperations
- Throws:
InvalidSecurityToken
move
public boolean move(int id,
int x,
int y)
throws InvalidSecurityToken
- Specified by:
move
in interface ServerOperations
- Throws:
InvalidSecurityToken
action
public boolean action(int id,
int object_id,
int action_id)
throws InvalidSecurityToken
- Specified by:
action
in interface ServerOperations
- Throws:
InvalidSecurityToken
attack
public boolean attack(int id)
throws InvalidSecurityToken
- Specified by:
attack
in interface ServerOperations
- Throws:
InvalidSecurityToken
useItem
public boolean useItem(int id,
int item_id)
throws InvalidSecurityToken
- Specified by:
useItem
in interface ServerOperations
- Throws:
InvalidSecurityToken
sendMessage
public void sendMessage(int id,
char[] message)
throws InvalidSecurityToken
- Specified by:
sendMessage
in interface ServerOperations
- Throws:
InvalidSecurityToken
getUsers
public char[][] getUsers(int id)
throws InvalidSecurityToken
- Specified by:
getUsers
in interface ServerOperations
- Throws:
InvalidSecurityToken
_ids
public java.lang.String[] _ids()
- Specified by:
_ids
in class org.omg.CORBA.portable.ObjectImpl