The P4Server type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() |
P4Server(String) |
Create a P4BridgeServer using the PUC specified by the environment
or a p4config file if one exists.
|
![]() |
P4Server(String, String, String, String) |
Create a P4BridgeServer used to connect to the specified P4Server
|
![]() |
P4Server(String, String, String, String, String, String, String) |
Create a P4BridgeServer used to connect to the specified P4Server
|
Methods
Name | Description | |
---|---|---|
![]() |
CancelCommand |
Cancel a running command
|
![]() |
Close |
Close the connection to a P4 Server
|
![]() |
ContinueRunCmdTimer | |
![]() |
Disconnect | |
![]() |
Dispose()()()() |
For IDispose
|
![]() |
Dispose(Boolean) |
Releases the unmanaged resources used by the P4Server and optionally releases the managed resources
|
![]() |
EchoCommand(String) |
Broadcast a string on the CommandEcho event
|
![]() |
EchoCommand(String, StringList) |
Broadcast a the command line (cmd and args) on the CommandEcho event
|
![]() |
Equals | (Inherited from Object.) |
![]() |
Finalize |
Finalizer
(Overrides Object..::..Finalize()()()().) |
![]() |
FreeConnections |
Free the UI created for a command after it is no longer needed
|
![]() ![]() |
Get |
Get an environment setting used by the server, such as user, client, ..
|
![]() |
GetBinaryResults |
Get the complete binary results for the last command
|
![]() |
getCmdId | |
![]() ![]() |
GetConfig |
The config file that will be used by a given directory
|
![]() |
GetDataSet | |
![]() |
GetErrorResults |
Get a list of errors (if any) generated by a command
|
![]() |
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetInfoResults |
Get the information messages generated by the previous command
|
![]() |
GetTaggedOutput |
Get the tagged output generated by a command
|
![]() |
GetTextResults |
Get the complete text results for the last command
|
![]() ![]() |
GetTicket |
Use the C++ API to find an existing ticket if a file will be ignored
|
![]() ![]() |
GetTicketFile |
Use the C++ API to determine the path of the ticket file
|
![]() ![]() |
GetTicketFileCredential |
Use the C++ API to find an existing ticket if a file will be ignored
|
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
IsCommandPaused | |
![]() ![]() |
IsIgnored |
Use the C++ API to determine if a file will be ignored
|
![]() |
Login |
Run a login command on the server
|
![]() |
Logout |
Run a logout command on the server
|
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
PauseRunCmdTimer | |
![]() |
Reconnect |
Reconnect to the server in the event the connection is lost
|
![]() |
ReleaseConnection |
Release the UI created for a command after it has been completed
|
![]() |
RunCommand |
Run a P4 command on the P4 Server
|
![]() ![]() |
Set |
Set an environment setting used by the server, such as user, client, ..
|
![]() |
SetConnectionData |
The parameters used by the connection
|
![]() |
SetDataSet |
The data set for use by a command
|
![]() |
ToString | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
![]() |
IdleDisconnectWaitTime | |
![]() |
KeepAliveDelay |
Maximum time for a command to run before timing out;
|
![]() |
PromptHandler |
Delegate used to process prompts for input from the server.
|
![]() |
ResolveAHandler |
Delegate used to provide a custom handler for Resolve callbacks passing a ClientResolve object from the p4api.
|
![]() |
ResolveHandler |
Delegate used to provide a custom handler for Resolve callbacks passing a ClientMerge object from the p4api.
|
![]() |
RunCmdTimeout |
Properties
Name | Description | |
---|---|---|
![]() |
ApiLevel |
What API level does the server support
|
![]() |
CharacterSet |
The character set used by the connection
|
![]() |
Client |
The client workspace used by the connection
|
![]() |
Config |
The config file used by the connection
|
![]() |
ConnectionError |
Get the error message generated by the previous connection (if any)
from the bridge dll.
|
![]() ![]() |
ConnectionErrorInt |
Get the error message generated by the previous connection (if any)
|
![]() |
CurrentWorkingDirectory |
The current working directory (cwd) used by the p4 server
|
![]() |
KeepAlive | |
![]() |
LastResults |
The results of the last command executed on this thread
|
![]() |
Password |
The user's password used by the connection
|
![]() |
Port |
The hostname:port used by the connection
|
![]() |
ProgramName |
The program name used by the connection
|
![]() |
ProgramVersion |
The program version used by the connection
|
![]() |
ReqiresLogin |
The server requires a client to use the login command to pass credentials.
|
![]() |
RunCmdTimout | Obsolete. |
![]() |
User |
The user name used by the connection
|
![]() |
UseUnicode |
Need to use Unicode when marshalling to/from the P4 server
|
![]() ![]() |
Version |
Get the version of the p4.net assembly
|
Events
Name | Description | |
---|---|---|
![]() |
BinaryResultsReceived |
Broadcast event for binary data
|
![]() |
CommandEcho |
Broadcast event for text results
|
![]() |
ErrorReceived |
Broadcast errors received
|
![]() |
InfoResultsReceived |
Broadcast event for info results
|
![]() |
TaggedOutputReceived |
Event to broadcast tagged output
|
![]() |
TextResultsReceived |
Broadcast event for text results
|