[This is preliminary documentation and is subject to change.]

The P4Server type exposes the following members.

Constructors

  Name Description
Public method P4Server
Create a P4BridgeServer used to connect to the specified P4Server

Methods

  Name Description
Public method Close
Close the connection to a P4 Server
Public method Dispose
For IDispose
Public method EchoCommand
Broadcast a string on the CommandEcho event
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method 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.)
Public method GetBinaryResults
Get the complete binary results for the last command
Public method GetErrorResults
Get a list of errors (if any) generated by a command
Public method GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public method GetInfoResults
Get the information messages generated by the previous command
Public method GetTaggedOutput
Get the tagged output generated by a command
Public method GetTextResults
Get the complete text results for the last command
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Public method Login
Run a login command on the server
Public method Logout
Run a logout command on the server
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method RunCommand
Run a P4 command on the P4 Server
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  Name Description
Public field PromptHandler
Delegate used to process prompts for input from the server.

Properties

  Name Description
Public property Client
The client workspace used by the connection
Public property ConnectionError
Get the error message generated by the previous connection (if any) from the bridge dll.
Public property Static member ConnectionErrorInt
Get the error message generated by the previous connection (if any)
Public property DataSet
The data set for use by a command
Public property ErrorList
The errors (if any) of the command execution
Public property LastResults
The results of the last command executed
Public property Password
The user's password used by the connection
Public property Port
The hostname:port used by the connection
Public property ReqiresLogin
The server requires a client to use the login command to pass credentials.
Public property User
The user name used by the connection
Public property UseUnicode
Need to use Unicode when marshalling to/from the P4 server
Public property Static member Version
Get the version of the p4.net assembly

Events

  Name Description
Public event BinaryResultsReceived
Broadcast event for binary data
Public event CommandEcho
Broadcast event for text results
Public event ErrorReceived
Broadcast errors received
Public event InfoResultsReceived
Broadcast event for info results
Public event TaggedOutputReceived
Event to broadcast tagged output
Public event TextResultsReceived
Broadcast event for text results

See Also