Gearman.Client Implement 3 New Properties
Bug #496536 reported by
qawarrior
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gearman.NET |
New
|
Undecided
|
Unassigned |
Bug Description
Gearman.Client Defines a Default Constructor but provides no way to Set the Host, Port on the Object and now way to Connect to a Job Server after Creation Of the Object. I propose these actions.
Define Host Public Property as string
Define Port Public Property as Int
Define IsConnected Property as bool
The logic would be if SubmitJob was called and IsConnected was equal to False then a Connect attempt would be made @ that time. Also might make sense to expose a public method to connect to the jobserver.
To post a comment you must log in.