app::kgb::client::serverref(3pm) [debian man page]
App::KGB::Client::ServerRef(3pm) User Contributed Perl Documentation App::KGB::Client::ServerRef(3pm)NAME
App::KGB::Client::ServerRef - server instance in KGB client
SYNOPSIS
use App::KGB::Client::ServerRef;
my $s = App::KGB::Client::ServerRef->new(
{ uri => "http://some.server:port/",
password => 's3cr1t',
timeout => 5
}
);
$s->send_changes( $client, $commit, $branch, $module );
DESCRIPTION
App::KGB::Client::ServerRef is used in App::KGB::Client to refer to remote KGB server instances. It encapsulates sending change sets to the
remote server, maintaining the SOAP protocol encapsulation and authentication to the remote KGB server.
CONSTRUCTOR
new The usual constructor. Accepts a hashref of initialiers.
FIELDS
uri (mandatory)
The URI of the remote KGB server. Something like "http://some.host:port/".
proxy
This is the SOAP proxy used to communicate with the server. If omitted, defaults to the value of uri field, with "?session=KGB"
appended.
password (mandatory)
Password, to be used for authentication to the remote KGB server.
timeout
Specifies the timeout for the SOAP transaction in seconds. Defaults to 15 seconds.
verbose
Be verbose about communicating with KGB server.
METHODS
send_changes (message parameters)
Transmits the change set and all data about it along with the necessary authentication hash. If error occures, an exception is thrown.
Message parameters are passed as arguments in the following order:
Client instance (App::KGB::Client)
Commit (an instance of App::KGB::Commit)
Branch
Module
perl v5.12.4 2011-09-15 App::KGB::Client::ServerRef(3pm)
Check Out this Related Man Page
App::KGB::Change(3pm) User Contributed Perl Documentation App::KGB::Change(3pm)NAME
App::KGB::Change - a single file change
SYNOPSIS
my $c = App::KGB::Change->new(
{ action => "M", prop_change => 1, path => "/there" } );
print $c;
my $c = App::KGB::Change->new("(M+)/there");
DESCRIPTION
App::KGB::Change encapsulates a single path change from a given change set (or commit).
App::KGB::Change overloads the "" operator in order to provide a default string representation of changes.
FIELDS
action (mandatory)
The action performed on the item. Possible values are:
M The path was modified.
A The path was added.
D The path was deleted.
R The path was replaced.
path (mandatory)
The path that was changed.
prop_change
Boolean. Indicated that some properties of the path, not the content were changed.
CONSTRUCTOR
new ( { initial values } )
More-or-less standard constructor.
It can take a hashref with keys all the field names (See ).
Or, it can take a single string, which is de-composed into components.
See for examples.
METHODS
as_string()
Return a string representation of the change. Used by the "" overload. The resulting string is suitable for feeding the constructor
if needed.
CLASS METHODS
detect_common_dir("changes")
Given an arrayref of changes (instances of APP::KGB::Change), detects the longest path that is common to all of them. All the changes'
paths are trimmed from the common part.
Example:
foo/b
foo/x
foo/bar/a
would return 'foo' and the paths would be trimmed to
b
x
bar/a
perl v5.12.4 2011-09-15 App::KGB::Change(3pm)
The scenerio is:
1. A server listens on a port number
2. If the server is down and the Client tries to connect
3. How to set the timeout for the client
Detailed explaination:
In a client server architecture over a TCP/IP, normally the server is started first which waits and listens for the... (1 Reply)
i'm writing small http proxy server (accept client -> connect to remote proxy server -> recv client's request -> send to remote proxy server -> get responce from remote proxy server -> send answer to client -> close connection to client and to remote proxy server) and having problems with fork().... (2 Replies)
Hi, I want to create a table on our unix box that allows the user to tab through it and select certain option by putting an asterix or similair into it.
e.g.
--------------
|Start App | |
|Stop App |*|
etc...
Can this be done using a script (never seen any graphics options in ksh, but... (2 Replies)
I am developing a Network Appliation to monitor computers in a network.
Specs are
App monitors the current web page viewed in each system
App also can shutdown the computer in the network
App can show all process run by each computer in the network
I am now confused how to start my... (2 Replies)
Hello,
I´m trying to get NX Nomachine working. On the server I use NX Free Edition for Solaris (running on Sparc Solaris 10 update 5). The Client is NX Client for Windows running on XP Professional. So far so good. Nearly everything works fine. The only problem is, that I always have the US... (1 Reply)
Problem
- Linux Client/Server Socket Application: Preventing Client from quitting on server crash
Hi,
I am writing a Linux socket Server and Client using TCP protocol on Ubuntu 9.04 x64.
I am having problem trying to implement a scenario where the client should keep running even when the... (2 Replies)
Hi, I am trying to use nomachine nx server and client. But somehow it doen't work. What happens is the following:
1.- Client starts up
2.- Client authenticates with Server
3.- The NoMachine window appears for 2-4 seconds
4.- The NoMachine window exists
Somehow a "closeEvent" is sent.... (3 Replies)
:confused:Hi All,
I need help on removing lines in a text file.
Sample file :
When there is a match ip for IPAddress in my `cat ip.out`, proceed delete line above until string "Comp" is found.
Thank you very much.
---------- Post updated at 12:56 AM ---------- Previous update was... (4 Replies)
Hi folks,
Does someone have a good choice for a free xclient software ???
We used to use Xwin32 from Starnet, but there is a licensing issue currently happening and I need to indicate an alternative to it. The idea is just to provide a graphic interface access for AIX.
Thanks Regards,
... (3 Replies)
I'm going to build a Fat-Client server, I have planed to Use Ubuntu.11.4.
Please Help me for doing this.
What are the packages I need to install?
What is the step I need to follow, what needs to be configure in LDAP Server,DHCP Server and etc,
Is there and Document or tutorial ?
... (3 Replies)
Hi,
Can somebody please tell me what is a taxi server?
I came to know the term taxi server in context of remote access.
I tried to google it out could not get any definition/description of what this taxi server really is?
If anyone knows any website/link to learn more about taxi... (6 Replies)
Hello,
Please I would create a client and a server in C that communicate frequently. The client sends "hello message" to the server, the server waits a few minutes and sends a "hello message" to the client, the client sends again "hello server ".. etc up to 15 minutes
Can you guide me... (3 Replies)
I have an app in FP26 with 400 prgs currently en UW7.1.1 thats work perfectly.
I have a new server and install UW7.1.4 and FP26. Then I had copy my App to new server. But the next command doesn't work:
use database
@10,10 get name
read
I can't write in the get.
... (5 Replies)
Hello All ,
I came across a tricky solution to devolop . Here is a part of the requirement automation .
I have different set of server say : Web ( has 4 servers under it ) , App ( has 4 servers under it ) , DB ( has 2 servers under it )
Above each i have different load balancers , Say : Web... (4 Replies)
I want to replace Windows terminal server mostly due to cost reasons license cost for 2100 users goes out of roof.
The end-user is all windows but I want a jump server that is UNIX based , I have some experience with VNC but I don't want options exists in UNIX to run a terminal services for 2100... (10 Replies)