| ITaskServerClientProtocolGetTcpChannelPort Method |
Gets the TCP server port for the specified task.
Namespace:
Ookii.Jumbo.Jet
Assembly:
Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax int GetTcpChannelPort(
Guid jobId,
TaskAttemptId taskAttemptId
)
Function GetTcpChannelPort (
jobId As Guid,
taskAttemptId As TaskAttemptId
) As Integer
int GetTcpChannelPort(
Guid jobId,
TaskAttemptId^ taskAttemptId
)
abstract GetTcpChannelPort :
jobId : Guid *
taskAttemptId : TaskAttemptId -> int
Parameters
- jobId
- Type: SystemGuid
The job ID. - taskAttemptId
- Type: Ookii.Jumbo.JetTaskAttemptId
The task attempt id.
Return Value
Type:
Int32
The port number, or 0 if the task is unknown or hasn't registered a port number yet.
See Also