#1  
Old 2nd July 2009, 02:20 PM
Danijel Tkalcec
 
Posts: n/a
Default Re: Wait to find out if active

"dave novo" schrieb:
>
> I want to have the following method I can connect and it returns a
> boolean if the connection was successful.
>
> procedure ConnectToGateway:boolean
> begin
> PClient.RetryOtherCalls:=3
> PClient.Active:=True;
> result:=PClient.Active;
> end


By the way ... can you please explain your reasons for wanting to implent
the login code as a blocking operation when all Nexus Portal components and
all methods on all components are fully event-driven and executed
asynchronously and/or from background threads?

Best Regards,
Danijel Tkalcec

  #2  
Old 2nd July 2009, 09:11 PM
Danijel Tkalcec
 
Posts: n/a
Default Re: Wait to find out if active

"Danijel Tkalcec" schrieb;
> "dave novo" schrieb:
>>
>> I want to have the following method I can connect and it returns a
>> boolean if the connection was successful.
>>
>> procedure ConnectToGateway:boolean
>> begin
>> PClient.RetryOtherCalls:=3
>> PClient.Active:=True;
>> result:=PClient.Active;
>> end

>
> By the way ... can you please explain your reasons for wanting to implent
> the login code as a blocking operation when all Nexus Portal components
> and all methods on all components are fully event-driven and executed
> asynchronously and/or from background threads?


Please consider that a successful login can easily be followed by a loss of
connection (or logout caused by login of the same user on a different
machine), which means that the result you would receive from the
"ConnectToGateway" method can easily lose its meaning immediately (followed
by a OnLogOut, OnError or OnFatalError event). Even if you just wanted to
test if a connection is possible, doing it through events would make your
code a lot less error prone (even if it does mean writing a few extra
lines).

Best Regards,
Danijel Tkalcec

  #3  
Old 3rd July 2009, 04:03 PM
Eivind Bakkestuen [NDD]
 
Posts: n/a
Default Re: Wait to find out if active

> Coordinating among 3-4 different events by having them set/get fields
> on the form in order to implement the behaviour I want is very error
> prone and those variables basically behave like global variables with
> different methods updating them. We all know the problems with the
> pattern of having many functions update/check global variables. Very
> error prone. OOP program is meant to go away from that type of
> paradigm.


We see your point, and a non-eventdriven alternative is something we
might look into in a future major version update.

--
Eivind Bakkestuen [NDD]
Nexus Database Systems
  #4  
Old 7th July 2009, 10:10 PM
Wolfgang
 
Posts: n/a
Default Portal

How would the speed compare to TeamViewer and Remote Desktop and what kind
of Pricing are we looking at?

I am very intrigued indeed and am definitely a potential buyer.

Kind Regards
Wolfgang


  #5  
Old 8th July 2009, 09:34 AM
Hannes Danzl[NDD]
 
Posts: n/a
Default Re: Portal

Wolfgang wrote:

> How would the speed compare to TeamViewer and Remote Desktop and what kind
> of Pricing are we looking at?


Portal is very fast and when used with the optional mirror driver (included)
also has very low resource usage. As with all our products we don't do direct
comparisons to other products. Due to vastly different environments and
different expectations of what should be compared from customer to customer
this wouldn't make any real sense.

The best way to judge for yourself and find out how Portal performs for *your*
needs, is to download the trial binaries and try it for yourself:
http://www.nexusdb.com/support/index.php?q=portaltrial

There are two products, "Portal Pro" which comes with full source and "Portal
Standard" which does not include the source code for the gateway.

You can always find the up-to-date pricing at:
http://www.nexusdb.com/support/index.php?q=pricing



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +11. The time now is 11:24 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.