Re: RPC in Java API

2009-04-13 Thread Tim Widowfield
In 7.0, you might find the method for changing the private in the Util class.  
That used to be the catch-all place for putting things they didn't know what to 
do with.

--Tim




From: Guillermo Alfredo Torres Barron 
To: arslist@ARSLIST.ORG
Sent: Monday, April 13, 2009 8:03:27 AM
Subject: Re: [ARSLIST] RPC in Java API

** 
Hi
I have ar java api 7.0, in the javadoc for this version don’t find those 
methods =S
Thanks
Greetings
 
De:Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] 
En nombre de Tim Widowfield
Enviado el: Miércoles, 08 de Abril de 2009 04:38 p.m.
Para: arslist@ARSLIST.ORG
Asunto: Re: RPC in Java API
 
** 
On the ARServerUser class page in the JavaDoc, search for the string 
"RpcQueue".  

There are three methods that control setting the RPC queue:

useAdminRpcQueue()
useDefaultRpcQueue()
usePrivateRpcQueue(int rpcProgramNum)

It does seem a bit curious that there isn't a constructor for ARServerUser that 
would take an RPC number as an argument.

--Tim



From:Guillermo Alfredo Torres Barron 
To: arslist@ARSLIST.ORG
Sent: Wednesday, April 8, 2009 1:18:35 PM
Subject: Re: [ARSLIST] RPC in Java API

** 
Hi Robert
I don’t have problem with TCP Port, I want to set the RPC
Thanks
Greetngis
 
De:Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] 
En nombre de Robert Molenda
Enviado el: Miércoles, 08 de Abril de 2009 12:34 p.m.
Para: arslist@ARSLIST.ORG
Asunto: Re: RPC in Java API
 
** 
Hello - please refer to the following short example... you must set the "Port" 
in the ARServerUser object
 
privatestatic ARServerUser cim_ARS;
cim_ARS = new ARServerUser();
cim_ARS.setUser("Demo");
cim_ARS.setPassword("");
cim_ARS.setServer("2003Base");
cim_ARS.setPort(12345);
boolean bCIM_Login = false;
bCIM_Login = ARS_Login(cim_ARS); 
publicstatic boolean ARS_Login(ARServerUser lcl_ARServerUser) {
booleanlcl_RC = false;
try{
lcl_ARServerUser.login();
lcl_RC = true;
} catch(ARException e) {
e.getMessage();
e.printStackTrace();
}
return(lcl_RC);
}
HTH - Robert Molenda
On Wed, Apr 8, 2009 at 10:17 AM, Guillermo Alfredo Torres Barron 
 wrote:
Hi dear listers
We have a java api program, we want that this program connects to ar
server for a private RPC, but we don't know how we can set the rpc in
the java api =(, we don't find some clear information on the
documentation java api
Any idea?
Thanks in advance
Greetings from Mexico City


...
Este correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es alguna persona autorizada por este para 
recibir sus correos electronicos, NO debera usted utilizar, copiar, revelar, o 
tomar ninguna accion basada en este correo electronico o cualquier otra 
informacion incluida en el, favor de notificar al remitente de inmediato 
mediante el reenvio de este correo electronico y borrar a continuacion 
totalmente este correo electronico y sus anexos.
Nota: Los acentos y caracteres especiales fueron omitidos para su correcta 
lectura en cualquier medio electronico.

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the addressee, 
you must not use, copy, disclose, or take any action based on this message or 
any
other information herein, please advise the sender immediately by reply this 
e-mail and delete this e-mail and  its attachments.
...

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"




__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___ 

...
Este correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es alguna persona autorizada por este para 
recibir sus correos electronicos, NO debera usted utilizar, copiar, revelar, o 
tomar ninguna accion basada en este correo electronico o cualquier otra 
informacion incluida en el, favor de notificar al remitente de inmediato 
mediante el reenvio de este correo electronico y borrar a continuacion 
totalmente este correo electronico y sus anexos.
Nota: Los acentos y caracteres especiales fueron omitidos para su correcta 
lectura en cualquier medio electronico.

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the addressee, 
you must not use, copy, disclose, or take any action based on this message or 
any
other

Re: RPC in Java API

2009-04-13 Thread LJ Longwing
Looking in my 7.1 and 7.5 javadocs I see all 3 of the methods mentioned.
Remembering of course that the Java API was completely rewritten between 7.0
and 7.1

  _  

From: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] On Behalf Of Guillermo Alfredo Torres Barron
Sent: Monday, April 13, 2009 9:03 AM
To: arslist@ARSLIST.ORG
Subject: Re: RPC in Java API


** 

Hi

I have ar java api 7.0, in the javadoc for this version don’t find those
methods =S

Thanks

Greetings

 

De: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] En nombre de Tim Widowfield
Enviado el: Miércoles, 08 de Abril de 2009 04:38 p.m.
Para: arslist@ARSLIST.ORG
Asunto: Re: RPC in Java API

 

** 

On the ARServerUser class page in the JavaDoc, search for the string
"RpcQueue".  

There are three methods that control setting the RPC queue:

useAdminRpcQueue()
useDefaultRpcQueue()
usePrivateRpcQueue(int rpcProgramNum)

It does seem a bit curious that there isn't a constructor for ARServerUser
that would take an RPC number as an argument.

--Tim

  _  

From: Guillermo Alfredo Torres Barron 
To: arslist@ARSLIST.ORG
Sent: Wednesday, April 8, 2009 1:18:35 PM
Subject: Re: [ARSLIST] RPC in Java API

** 

Hi Robert

I don’t have problem with TCP Port, I want to set the RPC

Thanks

Greetngis

 

De: Action Request System discussion list(ARSList)
[mailto:arsl...@arslist.org] En nombre de Robert Molenda
Enviado el: Miércoles, 08 de Abril de 2009 12:34 p.m.
Para: arslist@ARSLIST.ORG
Asunto: Re: RPC in Java API

 

** 

Hello - please refer to the following short example... you must set the
"Port" in the ARServerUser object

 

private static ARServerUser cim_ARS;
cim_ARS = new ARServerUser();
cim_ARS.setUser("Demo");
cim_ARS.setPassword("");
cim_ARS.setServer("2003Base");
cim_ARS.setPort(12345);
boolean bCIM_Login = false;
bCIM_Login = ARS_Login(cim_ARS); 

public static boolean ARS_Login(ARServerUser lcl_ARServerUser) {

boolean lcl_RC = false;

try {

lcl_ARServerUser.login();

lcl_RC = true;

} catch (ARException e) {

e.getMessage();

e.printStackTrace();

}
return(lcl_RC);

}

HTH - Robert Molenda

On Wed, Apr 8, 2009 at 10:17 AM, Guillermo Alfredo Torres Barron
 wrote:

Hi dear listers
We have a java api program, we want that this program connects to ar
server for a private RPC, but we don't know how we can set the rpc in
the java api =(, we don't find some clear information on the
documentation java api
Any idea?
Thanks in advance
Greetings from Mexico City



...
Este correo electronico es confidencial y/o puede contener informacion
privilegiada.
Si usted no es su destinatario o no es alguna persona autorizada por este
para recibir sus correos electronicos, NO debera usted utilizar, copiar,
revelar, o tomar ninguna accion basada en este correo electronico o
cualquier otra informacion incluida en el, favor de notificar al remitente
de inmediato mediante el reenvio de este correo electronico y borrar a
continuacion totalmente este correo electronico y sus anexos.
Nota: Los acentos y caracteres especiales fueron omitidos para su correcta
lectura en cualquier medio electronico.

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy, disclose, or take any action based on
this message or any
other information herein, please advise the sender immediately by reply this
e-mail and delete this e-mail and  its attachments.

...


___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
<http://www.arslist.org/> 
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"





__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___ 



...
Este correo electronico es confidencial y/o puede contener informacion
privilegiada.
Si usted no es su destinatario o no es alguna persona autorizada por este
para recibir sus correos electronicos, NO debera usted utilizar, copiar,
revelar, o tomar ninguna accion basada en este correo electronico o
cualquier otra informacion incluida en el, favor de notificar al remitente
de inmediato mediante el reenvio de este correo electronico y borrar a
continuacion totalmente este correo electronico y sus anexos.
Nota: Los acentos y caracteres especiales fueron omitidos para su correcta
lectura en cualquier medio electronico.

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the
addressee, you must not use, copy,

Re: RPC in Java API

2009-04-13 Thread Guillermo Alfredo Torres Barron
Hi

I have ar java api 7.0, in the javadoc for this version don’t find those 
methods =S

Thanks

Greetings

 

De: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] 
En nombre de Tim Widowfield
Enviado el: Miércoles, 08 de Abril de 2009 04:38 p.m.
Para: arslist@ARSLIST.ORG
Asunto: Re: RPC in Java API

 

** 

On the ARServerUser class page in the JavaDoc, search for the string 
"RpcQueue".  

There are three methods that control setting the RPC queue:

useAdminRpcQueue()
useDefaultRpcQueue()
usePrivateRpcQueue(int rpcProgramNum)

It does seem a bit curious that there isn't a constructor for ARServerUser that 
would take an RPC number as an argument.

--Tim



From: Guillermo Alfredo Torres Barron 
To: arslist@ARSLIST.ORG
Sent: Wednesday, April 8, 2009 1:18:35 PM
Subject: Re: [ARSLIST] RPC in Java API

** 

Hi Robert

I don’t have problem with TCP Port, I want to set the RPC

Thanks

Greetngis

 

De: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] 
En nombre de Robert Molenda
Enviado el: Miércoles, 08 de Abril de 2009 12:34 p.m.
Para: arslist@ARSLIST.ORG
Asunto: Re: RPC in Java API

 

** 

Hello - please refer to the following short example... you must set the "Port" 
in the ARServerUser object

 

private static ARServerUser cim_ARS;
cim_ARS = new ARServerUser();
cim_ARS.setUser("Demo");
cim_ARS.setPassword("");
cim_ARS.setServer("2003Base");
cim_ARS.setPort(12345);
boolean bCIM_Login = false;
bCIM_Login = ARS_Login(cim_ARS); 

public static boolean ARS_Login(ARServerUser lcl_ARServerUser) {

boolean lcl_RC = false;

try {

lcl_ARServerUser.login();

lcl_RC = true;

} catch (ARException e) {

e.getMessage();

e.printStackTrace();

}
return(lcl_RC);

}

HTH - Robert Molenda

On Wed, Apr 8, 2009 at 10:17 AM, Guillermo Alfredo Torres Barron 
 wrote:

Hi dear listers
We have a java api program, we want that this program connects to ar
server for a private RPC, but we don't know how we can set the rpc in
the java api =(, we don't find some clear information on the
documentation java api
Any idea?
Thanks in advance
Greetings from Mexico City


...
Este correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es alguna persona autorizada por este para 
recibir sus correos electronicos, NO debera usted utilizar, copiar, revelar, o 
tomar ninguna accion basada en este correo electronico o cualquier otra 
informacion incluida en el, favor de notificar al remitente de inmediato 
mediante el reenvio de este correo electronico y borrar a continuacion 
totalmente este correo electronico y sus anexos.
Nota: Los acentos y caracteres especiales fueron omitidos para su correcta 
lectura en cualquier medio electronico.

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the addressee, 
you must not use, copy, disclose, or take any action based on this message or 
any
other information herein, please advise the sender immediately by reply this 
e-mail and delete this e-mail and  its attachments.
...

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 
<http://www.arslist.org/> 
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"





__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___ 


...
Este correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es alguna persona autorizada por este para 
recibir sus correos electronicos, NO debera usted utilizar, copiar, revelar, o 
tomar ninguna accion basada en este correo electronico o cualquier otra 
informacion incluida en el, favor de notificar al remitente de inmediato 
mediante el reenvio de este correo electronico y borrar a continuacion 
totalmente este correo electronico y sus anexos.
Nota: Los acentos y caracteres especiales fueron omitidos para su correcta 
lectura en cualquier medio electronico.

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the addressee, 
you must not use, copy, disclose, or take any action based on this message or 
any
other information herein, please advise the sender immediately by reply this 
e-mail and delete this e-mail and its attachments. 
..

Re: AW: RPC in Java API

2009-04-09 Thread Lyle Taylor
Conversely, you could define a private queue for operations that you want to 
occur without affecting normal users, because you would not be using the normal 
list and fast threads for the work being done.

Lyle

From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Tim Widowfield
Sent: Thursday, April 09, 2009 8:45 AM
To: arslist@ARSLIST.ORG
Subject: Re: AW: RPC in Java API

**
I think the Config Manual says it nicely:

"Administrators can also create private queues for specific users who need 
dedicated access. For example, you might create a private queue for a user who 
is performing critical operations that you do not want blocked by other users. 
Private queues guarantee a certain bandwidth dedicated to clients using these 
queues."

--Tim



From: "Krombholz, Robert, VF-Group" 
To: arslist@ARSLIST.ORG
Sent: Thursday, April 9, 2009 1:49:00 AM
Subject: [ARSLIST] AW: RPC in Java API

**

Could someone explain me the Private RPC queue?
When does it make sense to use a private queue?


another Robert

Von: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] Im Auftrag von Tim Widowfield
Gesendet: Mittwoch, 8. April 2009 23:38
An: arslist@ARSLIST.ORG
Betreff: Re: RPC in Java API
**
On the ARServerUser class page in the JavaDoc, search for the string "RpcQueue".

There are three methods that control setting the RPC queue:

useAdminRpcQueue()
useDefaultRpcQueue()
usePrivateRpcQueue(int rpcProgramNum)

It does seem a bit curious that there isn't a constructor for ARServerUser that 
would take an RPC number as an argument.

--Tim

From: Guillermo Alfredo Torres Barron 
To: arslist@ARSLIST.ORG
Sent: Wednesday, April 8, 2009 1:18:35 PM
Subject: Re: [ARSLIST] RPC in Java API

**
Hi Robert
I don’t have problem with TCP Port, I want to set the RPC
Thanks
Greetngis

De: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] 
En nombre de Robert Molenda
Enviado el: Miércoles, 08 de Abril de 2009 12:34 p.m.
Para: arslist@ARSLIST.ORG
Asunto: Re: RPC in Java API

**
Hello - please refer to the following short example... you must set the "Port" 
in the ARServerUser object

private static ARServerUser cim_ARS;
cim_ARS = new ARServerUser();
cim_ARS.setUser("Demo");
cim_ARS.setPassword("");
cim_ARS.setServer("2003Base");
cim_ARS.setPort(12345);
boolean bCIM_Login = false;
bCIM_Login = ARS_Login(cim_ARS);
public static boolean ARS_Login(ARServerUser lcl_ARServerUser) {
boolean lcl_RC = false;
try {
lcl_ARServerUser.login();
lcl_RC = true;
} catch (ARException e) {
e.getMessage();
e.printStackTrace();

}
return(lcl_RC);

}

HTH - Robert Molenda
On Wed, Apr 8, 2009 at 10:17 AM, Guillermo Alfredo Torres Barron 
mailto:guillermo.torres.bar...@banorte.com>>
 wrote:
Hi dear listers
We have a java api program, we want that this program connects to ar
server for a private RPC, but we don't know how we can set the rpc in
the java api =(, we don't find some clear information on the
documentation java api
Any idea?
Thanks in advance
Greetings from Mexico City


...
Este correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es alguna persona autorizada por este para 
recibir sus correos electronicos, NO debera usted utilizar, copiar, revelar, o 
tomar ninguna accion basada en este correo electronico o cualquier otra 
informacion incluida en el, favor de notificar al remitente de inmediato 
mediante el reenvio de este correo electronico y borrar a continuacion 
totalmente este correo electronico y sus anexos.
Nota: Los acentos y caracteres especiales fueron omitidos para su correcta 
lectura en cualquier medio electronico.

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the addressee, 
you must not use, copy, disclose, or take any action based on this message or 
any
other information herein, please advise the sender immediately by reply this 
e-mail and delete this e-mail and  its attachments.
...

___
UNSUBSCRIBE or access ARSlist Archives at 
www.arslist.org<http://www.arslist.org/>
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"




__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___

...
Este correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es al

Re: AW: RPC in Java API

2009-04-09 Thread Tim Widowfield
I think the Config Manual says it nicely:

"Administrators can also create private queues for specific users who need 
dedicated access. For example, you might create a private queue for a user who 
is performing critical operations that you do not want blocked by other users. 
Private queues guarantee a certain bandwidth dedicated to clients using these 
queues."

--Tim







From: "Krombholz, Robert, VF-Group" 
To: arslist@ARSLIST.ORG
Sent: Thursday, April 9, 2009 1:49:00 AM
Subject: [ARSLIST] AW: RPC in Java API

** 
 
Could 
someone explain me the Private RPC queue?
When 
does it make sense to use a private queue?
 
 
another Robert


 
Von: Action Request System discussion 
list(ARSList) [mailto:arsl...@arslist.org] Im Auftrag von Tim 
Widowfield
Gesendet: Mittwoch, 8. April 2009 23:38
An: arslist@ARSLIST.ORG
Betreff: Re: RPC in Java API

**  
On the 
ARServerUser class page in the JavaDoc, search for the string "RpcQueue".  

There are three methods that control setting the RPC 
queue:

useAdminRpcQueue()
useDefaultRpcQueue()
usePrivateRpcQueue(int rpcProgramNum)

It 
does seem a bit curious that there isn't a constructor for ARServerUser that 
would take an RPC number as an argument.

--Tim




 From: Guillermo Alfredo Torres 
Barron 
To: arslist@ARSLIST.ORG
Sent: Wednesday, April 8, 2009 1:18:35 
PM
Subject: Re: [ARSLIST] RPC 
in Java API

**  
Hi 
Robert
I 
don’t have problem with TCP Port, I want to set the RPC
Thanks
Greetngis
 
De:Action 
Request System discussion list(ARSList) [mailto:arsl...@arslist.org] En 
nombre de Robert Molenda
Enviado el: Miércoles, 08 de Abril de 
2009 12:34 p.m.
Para: arslist@ARSLIST.ORG
Asunto: Re: RPC in 
Java API
 
** 
Hello - please refer to the following short example... you 
must set the "Port" in the ARServerUser object
 
privatestatic ARServerUser cim_ARS;
cim_ARS = new ARServerUser();
cim_ARS.setUser("Demo");
cim_ARS.setPassword("");
cim_ARS.setServer("2003Base");
cim_ARS.setPort(12345);
boolean bCIM_Login = false;
bCIM_Login = ARS_Login(cim_ARS); 
publicstatic boolean ARS_Login(ARServerUser 
lcl_ARServerUser) {
booleanlcl_RC = false;
try{
lcl_ARServerUser.login();
lcl_RC = true;
} catch(ARException e) {
e.getMessage();
e.printStackTrace();
}
return(lcl_RC);
}
HTH - Robert Molenda
On Wed, Apr 8, 2009 at 10:17 AM, Guillermo Alfredo Torres 
Barron  
wrote:
Hi dear listers
We have a java api program, we want that 
this program connects to ar
server for a private RPC, but we don't know how 
we can set the rpc in
the java api =(, we don't find some clear information 
on the
documentation java api
Any idea?
Thanks in advance
Greetings 
from Mexico 
City


...
Este 
correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es alguna persona 
autorizada por este para recibir sus correos electronicos, NO debera usted 
utilizar, copiar, revelar, o tomar ninguna accion basada en este correo 
electronico o cualquier otra informacion incluida en el, favor de notificar al 
remitente de inmediato mediante el reenvio de este correo electronico y borrar 
a 
continuacion totalmente este correo electronico y sus anexos.
Nota: Los 
acentos y caracteres especiales fueron omitidos para su correcta lectura en 
cualquier medio electronico.

This e-mail is confidential and/or may 
contain privileged information.
If you are not the addressee or authorized to 
receive this for the addressee, you must not use, copy, disclose, or take any 
action based on this message or any
other information herein, please advise 
the sender immediately by reply this e-mail and delete this e-mail and  its 
attachments.
...

___
UNSUBSCRIBE 
or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: 
"Where the Answers Are"




__Platinum Sponsor: RMI Solutions 
ARSlist: "Where the Answers Are" html___ 
...
Este 
correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es alguna persona 
autorizada por este para recibir sus correos electronicos, NO debera usted 
utilizar, copiar, revelar, o tomar ninguna accion basada en este correo 
electronico o cualquier otra informacion incluida en el, favor de notificar al 
remitente de inmediato mediante el reenvio de este correo electronico y borrar 
a 
continuacion totalmente este correo electronico y sus anexos.
Nota: Los 
acentos y caracteres especiales fueron omitidos para su corr

AW: RPC in Java API

2009-04-08 Thread Krombholz, Robert, VF-Group
 
Could someone explain me the Private RPC queue?
When does it make sense to use a private queue?
 
 
another Robert


Von: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] Im Auftrag von Tim Widowfield
Gesendet: Mittwoch, 8. April 2009 23:38
An: arslist@ARSLIST.ORG
Betreff: Re: RPC in Java API


** 
On the ARServerUser class page in the JavaDoc, search for the string 
"RpcQueue".  

There are three methods that control setting the RPC queue:

useAdminRpcQueue()
useDefaultRpcQueue()
usePrivateRpcQueue(int rpcProgramNum)

It does seem a bit curious that there isn't a constructor for ARServerUser that 
would take an RPC number as an argument.

--Tim




From: Guillermo Alfredo Torres Barron 
To: arslist@ARSLIST.ORG
Sent: Wednesday, April 8, 2009 1:18:35 PM
Subject: Re: [ARSLIST] RPC in Java API

** 

Hi Robert

I don't have problem with TCP Port, I want to set the RPC

Thanks

Greetngis

 

De: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] 
En nombre de Robert Molenda
Enviado el: Miércoles, 08 de Abril de 2009 12:34 p.m.
Para: arslist@ARSLIST.ORG
Asunto: Re: RPC in Java API

 

** 

Hello - please refer to the following short example... you must set the "Port" 
in the ARServerUser object

 

private static ARServerUser cim_ARS;
cim_ARS = new ARServerUser();
cim_ARS.setUser("Demo");
cim_ARS.setPassword("");
cim_ARS.setServer("2003Base");
cim_ARS.setPort(12345);
boolean bCIM_Login = false;
bCIM_Login = ARS_Login(cim_ARS); 

public static boolean ARS_Login(ARServerUser lcl_ARServerUser) {

boolean lcl_RC = false;

try {

lcl_ARServerUser.login();

lcl_RC = true;

} catch (ARException e) {

e.getMessage();

e.printStackTrace();

}
return(lcl_RC);

}

HTH - Robert Molenda

On Wed, Apr 8, 2009 at 10:17 AM, Guillermo Alfredo Torres Barron 
 wrote:

Hi dear listers
We have a java api program, we want that this program connects to ar
server for a private RPC, but we don't know how we can set the rpc in
the java api =(, we don't find some clear information on the
documentation java api
Any idea?
Thanks in advance
Greetings from Mexico City


...
Este correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es alguna persona autorizada por este para 
recibir sus correos electronicos, NO debera usted utilizar, copiar, revelar, o 
tomar ninguna accion basada en este correo electronico o cualquier otra 
informacion incluida en el, favor de notificar al remitente de inmediato 
mediante el reenvio de este correo electronico y borrar a continuacion 
totalmente este correo electronico y sus anexos.
Nota: Los acentos y caracteres especiales fueron omitidos para su correcta 
lectura en cualquier medio electronico.

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the addressee, 
you must not use, copy, disclose, or take any action based on this message or 
any
other information herein, please advise the sender immediately by reply this 
e-mail and delete this e-mail and  its attachments.
...

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 
<http://www.arslist.org/> 
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"





__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___ 


...
Este correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es alguna persona autorizada por este para 
recibir sus correos electronicos, NO debera usted utilizar, copiar, revelar, o 
tomar ninguna accion basada en este correo electronico o cualquier otra 
informacion incluida en el, favor de notificar al remitente de inmediato 
mediante el reenvio de este correo electronico y borrar a continuacion 
totalmente este correo electronico y sus anexos.
Nota: Los acentos y caracteres especiales fueron omitidos para su correcta 
lectura en cualquier medio electronico.

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the addressee, 
you must not use, copy, disclose, or take any action based on this message or 
any
other information herein, please advise the sender immediately by reply this 
e-mail and delete this e-mail and its attachments. 
.

Re: RPC in Java API

2009-04-08 Thread Tim Widowfield
On the ARServerUser class page in the JavaDoc, search for the string 
"RpcQueue".  

There are three methods that control setting the RPC queue:

useAdminRpcQueue()
useDefaultRpcQueue()
usePrivateRpcQueue(int rpcProgramNum)

It does seem a bit curious that there isn't a constructor for ARServerUser that 
would take an RPC number as an argument.

--Tim




From: Guillermo Alfredo Torres Barron 
To: arslist@ARSLIST.ORG
Sent: Wednesday, April 8, 2009 1:18:35 PM
Subject: Re: [ARSLIST] RPC in Java API

**  
Hi Robert
I don’t have problem with TCP Port, I want to set the RPC
Thanks
Greetngis
 
De:Action
Request System discussion list(ARSList) [mailto:arsl...@arslist.org] En
nombre de Robert Molenda
Enviado el: Miércoles, 08 de Abril de 2009 12:34 p.m.
Para: arslist@ARSLIST.ORG
Asunto: Re: RPC in Java API
 
** 
Hello - please refer to the following short example... you
must set the "Port" in the ARServerUser object
 
privatestatic ARServerUser cim_ARS;
cim_ARS = new ARServerUser();
cim_ARS.setUser("Demo");
cim_ARS.setPassword("");
cim_ARS.setServer("2003Base");
cim_ARS.setPort(12345);
boolean bCIM_Login = false;
bCIM_Login = ARS_Login(cim_ARS); 
publicstatic boolean ARS_Login(ARServerUser
lcl_ARServerUser) {
booleanlcl_RC = false;
try{
lcl_ARServerUser.login();
lcl_RC = true;
} catch(ARException e) {
e.getMessage();
e.printStackTrace();
}
return(lcl_RC);
}
HTH - Robert Molenda
On Wed, Apr 8, 2009 at 10:17 AM, Guillermo Alfredo Torres
Barron 
wrote:
Hi dear listers
We have a java api program, we want that this program connects to ar
server for a private RPC, but we don't know how we can set the rpc in
the java api =(, we don't find some clear information on the
documentation java api
Any idea?
Thanks in advance
Greetings from Mexico City


...
Este correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es alguna persona autorizada por este para
recibir sus correos electronicos, NO debera usted utilizar, copiar, revelar, o
tomar ninguna accion basada en este correo electronico o cualquier otra
informacion incluida en el, favor de notificar al remitente de inmediato
mediante el reenvio de este correo electronico y borrar a continuacion
totalmente este correo electronico y sus anexos.
Nota: Los acentos y caracteres especiales fueron omitidos para su correcta
lectura en cualquier medio electronico.

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the addressee,
you must not use, copy, disclose, or take any action based on this message or
any
other information herein, please advise the sender immediately by reply this
e-mail and delete this e-mail and  its attachments.
...

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"




__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
html___ 
...
Este correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es alguna persona autorizada por este para 
recibir sus correos electronicos, NO debera usted utilizar, copiar, revelar, o 
tomar ninguna accion basada en este correo electronico o cualquier otra 
informacion incluida en el, favor de notificar al remitente de inmediato 
mediante el reenvio de este correo electronico y borrar a continuacion 
totalmente este correo electronico y sus anexos.
Nota: Los acentos y caracteres especiales fueron omitidos para su correcta 
lectura en cualquier medio electronico.

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the addressee, 
you must not use, copy, disclose, or take any action based on this message or 
any
other information herein, please advise the sender immediately by reply this 
e-mail and delete this e-mail and  its attachments. 
...__Platinum
 Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"

Re: RPC in Java API

2009-04-08 Thread Guillermo Alfredo Torres Barron
Hi Robert

I don't have problem with TCP Port, I want to set the RPC

Thanks

Greetngis

 

De: Action Request System discussion list(ARSList) [mailto:arsl...@arslist.org] 
En nombre de Robert Molenda
Enviado el: Miércoles, 08 de Abril de 2009 12:34 p.m.
Para: arslist@ARSLIST.ORG
Asunto: Re: RPC in Java API

 

** 

Hello - please refer to the following short example... you must set the "Port" 
in the ARServerUser object

 

private static ARServerUser cim_ARS;
cim_ARS = new ARServerUser();
cim_ARS.setUser("Demo");
cim_ARS.setPassword("");
cim_ARS.setServer("2003Base");
cim_ARS.setPort(12345);
boolean bCIM_Login = false;
bCIM_Login = ARS_Login(cim_ARS); 

public static boolean ARS_Login(ARServerUser lcl_ARServerUser) {

boolean lcl_RC = false;

try {

lcl_ARServerUser.login();

lcl_RC = true;

} catch (ARException e) {

e.getMessage();

e.printStackTrace();

}
return(lcl_RC);

}

HTH - Robert Molenda

On Wed, Apr 8, 2009 at 10:17 AM, Guillermo Alfredo Torres Barron 
 wrote:

Hi dear listers
We have a java api program, we want that this program connects to ar
server for a private RPC, but we don't know how we can set the rpc in
the java api =(, we don't find some clear information on the
documentation java api
Any idea?
Thanks in advance
Greetings from Mexico City


...
Este correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es alguna persona autorizada por este para 
recibir sus correos electronicos, NO debera usted utilizar, copiar, revelar, o 
tomar ninguna accion basada en este correo electronico o cualquier otra 
informacion incluida en el, favor de notificar al remitente de inmediato 
mediante el reenvio de este correo electronico y borrar a continuacion 
totalmente este correo electronico y sus anexos.
Nota: Los acentos y caracteres especiales fueron omitidos para su correcta 
lectura en cualquier medio electronico.

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the addressee, 
you must not use, copy, disclose, or take any action based on this message or 
any
other information herein, please advise the sender immediately by reply this 
e-mail and delete this e-mail and  its attachments.
...

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org 
<http://www.arslist.org/> 
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"





__Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are" html___ 



...
Este correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es alguna persona autorizada por este para 
recibir sus correos electronicos, NO debera usted utilizar, copiar, revelar, o 
tomar ninguna accion basada en este correo electronico o cualquier otra 
informacion incluida en el, favor de notificar al remitente de inmediato 
mediante el reenvio de este correo electronico y borrar a continuacion 
totalmente este correo electronico y sus anexos.
Nota: Los acentos y caracteres especiales fueron omitidos para su correcta 
lectura en cualquier medio electronico.

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the addressee, 
you must not use, copy, disclose, or take any action based on this message or 
any
other information herein, please advise the sender immediately by reply this 
e-mail and delete this e-mail and  its attachments. 
...

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


Re: RPC in Java API

2009-04-08 Thread Robert Molenda
Hello - please refer to the following short example... you must set the
"Port" in the ARServerUser object


*private* *static* ARServerUser *cim_ARS*;
*cim_ARS* = *new* ARServerUser();
*cim_ARS*.setUser("Demo");
*cim_ARS*.setPassword("");
*cim_ARS.setServer("2003Base");
cim_ARS*.setPort(12345);
*boolean* bCIM_Login = *false*;
bCIM_Login = *ARS_Login*(*cim_ARS*);
*public* *static* *boolean* ARS_Login(ARServerUser lcl_ARServerUser) {

*boolean* lcl_RC = *false*;
*try* {

lcl_ARServerUser.login();
lcl_RC = *true*;

} *catch* (ARException e) {

e.getMessage();
e.*printStackTrace*();

}
*return*(lcl_RC);

}

HTH - Robert Molenda

On Wed, Apr 8, 2009 at 10:17 AM, Guillermo Alfredo Torres Barron <
guillermo.torres.bar...@banorte.com> wrote:

> Hi dear listers
> We have a java api program, we want that this program connects to ar
> server for a private RPC, but we don't know how we can set the rpc in
> the java api =(, we don't find some clear information on the
> documentation java api
> Any idea?
> Thanks in advance
> Greetings from Mexico City
>
>
>
> ...
> Este correo electronico es confidencial y/o puede contener informacion
> privilegiada.
> Si usted no es su destinatario o no es alguna persona autorizada por este
> para recibir sus correos electronicos, NO debera usted utilizar, copiar,
> revelar, o tomar ninguna accion basada en este correo electronico o
> cualquier otra informacion incluida en el, favor de notificar al remitente
> de inmediato mediante el reenvio de este correo electronico y borrar a
> continuacion totalmente este correo electronico y sus anexos.
> Nota: Los acentos y caracteres especiales fueron omitidos para su correcta
> lectura en cualquier medio electronico.
>
> This e-mail is confidential and/or may contain privileged information.
> If you are not the addressee or authorized to receive this for the
> addressee, you must not use, copy, disclose, or take any action based on
> this message or any
> other information herein, please advise the sender immediately by reply
> this e-mail and delete this e-mail and  its attachments.
>
> ...
>
>
> ___
> UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
> Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"
>

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"


RPC in Java API

2009-04-08 Thread Guillermo Alfredo Torres Barron
Hi dear listers
We have a java api program, we want that this program connects to ar
server for a private RPC, but we don't know how we can set the rpc in
the java api =(, we don't find some clear information on the
documentation java api
Any idea?
Thanks in advance
Greetings from Mexico City


...
Este correo electronico es confidencial y/o puede contener informacion 
privilegiada.
Si usted no es su destinatario o no es alguna persona autorizada por este para 
recibir sus correos electronicos, NO debera usted utilizar, copiar, revelar, o 
tomar ninguna accion basada en este correo electronico o cualquier otra 
informacion incluida en el, favor de notificar al remitente de inmediato 
mediante el reenvio de este correo electronico y borrar a continuacion 
totalmente este correo electronico y sus anexos.
Nota: Los acentos y caracteres especiales fueron omitidos para su correcta 
lectura en cualquier medio electronico.

This e-mail is confidential and/or may contain privileged information.
If you are not the addressee or authorized to receive this for the addressee, 
you must not use, copy, disclose, or take any action based on this message or 
any
other information herein, please advise the sender immediately by reply this 
e-mail and delete this e-mail and  its attachments. 
...

___
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: RMI Solutions ARSlist: "Where the Answers Are"