Copyright © Rasmus Sten and contributors, 1997-2004

nu.dll.lyskom
Class RpcCall

java.lang.Object
  |
  +--nu.dll.lyskom.RpcCall
All Implemented Interfaces:
Rpc

public class RpcCall
extends java.lang.Object
implements Rpc

This class is used to do the actual RPC Calls to the server. Look at the fields in the RPC class to find out what calls are available, and in the Protocol A documentation to see what they do


Field Summary
 
Fields inherited from interface nu.dll.lyskom.Rpc
C_add_member, C_change_conference, C_change_name, C_change_what_i_am_doing, C_create_conf, C_create_person, C_create_text, C_delete_conf, C_delete_text, C_disconnect, C_enable, C_find_next_text_no, C_find_previous_text_no, C_get_client_name, C_get_client_version, C_get_conf_stat, C_get_info, C_get_marks, C_get_membership, C_get_person_stat, C_get_static_session_info, C_get_text, C_get_text_stat, C_get_time, C_get_uconf_stat, C_get_unread_confs, C_local_to_global, C_login, C_logout, C_lookup_z_name, C_mark_as_read, C_mark_text, C_modify_conf_info, C_modify_text_info, C_query_read_texts, C_re_z_lookup, C_send_message, C_set_client_version, C_set_last_read, C_set_presentation, C_sub_member, C_unmark_text, C_user_active, C_who_am_i, C_who_is_on_dynamic, E_access_denied, E_already_comment, E_already_footnote, E_already_recipient, E_anonymous_rejected, E_aux_item_permission, E_bad_name, E_client_is_crazy, E_comment_limit, E_conference_exists, E_conference_zero, E_feature_disabled, E_footnote_limit, E_illegal_aux_item, E_illegal_info_type, E_illegal_misc, E_index_out_of_range, E_internal_error, E_invalid_membership_type, E_invalid_password, E_ldb_error, E_letterbox, E_local_text_zero, E_login_disallowed, E_login_first, E_long_array, E_mark_limit, E_message_not_sent, E_no_connect, E_no_error, E_no_such_local_text, E_no_such_text, E_not_author, E_not_comment, E_not_footnote, E_not_implemented, E_not_marked, E_not_member, E_not_recipient, E_obsolete_call, E_out_of_memory, E_permission_denied, E_person_exists, E_recipient_limit, E_regexp_error, E_secret_public, E_server_is_crazy, E_string_too_long, E_temporary_failure, E_text_zero, E_undefined_conference, E_undefined_person, E_undefined_session, E_unknown_async
 
Constructor Summary
RpcCall(int id, int number)
           
 
Method Summary
 nu.dll.lyskom.RpcCall add(nu.dll.lyskom.Hollerith h)
           
 nu.dll.lyskom.RpcCall add(int i)
           
 nu.dll.lyskom.RpcCall add(nu.dll.lyskom.KomToken k)
           
 nu.dll.lyskom.RpcCall add(nu.dll.lyskom.KomTokenArray k)
           
 nu.dll.lyskom.RpcCall add(java.lang.String s)
           
 void addAux(java.lang.Object o)
           
 java.lang.Object getAux(int n)
           
 java.util.Enumeration getAuxElements()
           
 int getId()
           
 int getOp()
           
 nu.dll.lyskom.KomToken getParameter(int n)
           
 java.util.Enumeration getParameterElements()
           
 nu.dll.lyskom.RpcReply getReply()
           
 void setReply(nu.dll.lyskom.RpcReply r)
           
 byte[] toNetwork()
           
 java.lang.String toString()
           
 void writeNetwork(java.io.OutputStream output)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RpcCall

public RpcCall(int id,
               int number)
Method Detail

getId

public int getId()

getOp

public int getOp()

setReply

public void setReply(nu.dll.lyskom.RpcReply r)

getReply

public nu.dll.lyskom.RpcReply getReply()

getParameter

public nu.dll.lyskom.KomToken getParameter(int n)

getParameterElements

public java.util.Enumeration getParameterElements()

addAux

public void addAux(java.lang.Object o)

getAux

public java.lang.Object getAux(int n)

getAuxElements

public java.util.Enumeration getAuxElements()

add

public nu.dll.lyskom.RpcCall add(nu.dll.lyskom.Hollerith h)

add

public nu.dll.lyskom.RpcCall add(int i)

add

public nu.dll.lyskom.RpcCall add(nu.dll.lyskom.KomTokenArray k)

add

public nu.dll.lyskom.RpcCall add(nu.dll.lyskom.KomToken k)

add

public nu.dll.lyskom.RpcCall add(java.lang.String s)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

toNetwork

public byte[] toNetwork()

writeNetwork

public void writeNetwork(java.io.OutputStream output)
                  throws java.io.IOException
java.io.IOException

Copyright © Rasmus Sten and contributors, 1997-2004