[This is preliminary documentation and is subject to change.]
The P4Server type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
P4Server |
Create a P4BridgeServer used to connect to the specified P4Server
|
Methods
| Name | Description | |
|---|---|---|
|
|
Close |
Close the connection to a P4 Server
|
|
|
Dispose |
For IDispose
|
|
|
EchoCommand |
Broadcast a string on the CommandEcho event
|
|
|
Equals | (Inherited from Object.) |
|
|
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
|
GetBinaryResults |
Get the complete binary results for the last command
|
|
|
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
|
|
|
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
|
|
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.) |
|
|
RunCommand |
Run a P4 command on the P4 Server
|
|
|
ToString | (Inherited from Object.) |
Fields
| Name | Description | |
|---|---|---|
|
|
PromptHandler |
Delegate used to process prompts for input from the server.
|
Properties
| Name | Description | |
|---|---|---|
|
|
Client |
The client workspace 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)
|
|
|
DataSet |
The data set for use by a command
|
|
|
ErrorList |
The errors (if any) of the command execution
|
|
|
LastResults |
The results of the last command executed
|
|
|
Password |
The user's password used by the connection
|
|
|
Port |
The hostname:port used by the connection
|
|
|
ReqiresLogin |
The server requires a client to use the login command to pass credentials.
|
|
|
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
|