ApCoCoA-1:BBF.SwitchPort: Difference between revisions

From ApCoCoAWiki
Skaspar (talk | contribs)
Created the page
 
Skaspar (talk | contribs)
Updated alias usage
Line 3: Line 3:
     <short_description>change port for communication with ApCoCoABBFServer</short_description>
     <short_description>change port for communication with ApCoCoABBFServer</short_description>
<syntax>
<syntax>
$BBF.SwitchPort(NewPort:INT):INT
BBF.SwitchPort(NewPort:INT):INT
</syntax>
</syntax>
     <description>
     <description>
Line 13: Line 13:
It is very likely to happen that the port switching functionality will be changed in future releases as soon as a more sophisticated multiple computation handling has been implemented.
It is very likely to happen that the port switching functionality will be changed in future releases as soon as a more sophisticated multiple computation handling has been implemented.
<example>
<example>
$BBF.SwitchPort(48113);
BBF.SwitchPort(48113);
48112
48112
-------------------------------
-------------------------------

Revision as of 15:29, 8 December 2008

BBF.SwitchPort

change port for communication with ApCoCoABBFServer

Syntax

BBF.SwitchPort(NewPort:INT):INT

Description

Use NewPort (>= 48112) as new port number for communication with ApCoCoABBFServer. This is useful if you want to run more than one instance of the ApCoCoABBFServer at the same time. You can associate a port number to the ApCoCoABBFServer on startup via the --port flag.

The output of this function is the previously used port number for communication with the ApCoCoABBFServer.

Beta Warning: This method, package or class is a beta version. It may not work as intended or its interface may change in the next version! So please be careful when you're intending to use it.

It is very likely to happen that the port switching functionality will be changed in future releases as soon as a more sophisticated multiple computation handling has been implemented.

Example

BBF.SwitchPort(48113);
48112
-------------------------------

Border Basis Framework overview

BBasis