Class FaxPrinterGatewayFacade
- Assembly
- IpPbxCDSClientLib.dll
Facade class for FaxPrinterGateway
public class FaxPrinterGatewayFacade : FaxPrinterGatewayFacadeBase
- Inheritance
-
SWCFProxy<FaxPrinterGatewayFacadeClient, IFaxPrinterGatewayFacade>FaxPrinterGatewayFacade
- Inherited Members
Constructors
FaxPrinterGatewayFacade()
Create instance of FaxPrinterGatewayFacade. Ony used by Unmanaged Wrapper. To create an instance of this class use the LibManager.
public FaxPrinterGatewayFacade()
Remarks
The connection will be established by the first remote call.
Properties
PoolMaxSize
depcreated
public static int PoolMaxSize { get; set; }
Property Value
PoolMinSize
depcreated
public static int PoolMinSize { get; set; }
Property Value
m_BaseUrl
protected override string m_BaseUrl { get; }
Property Value
Methods
CheckVersion()
public void CheckVersion()
ControlFaxJob(int, EFaxJobControlAction, string)
public void ControlFaxJob(int JobID, EFaxJobControlAction Action, string Reason)
Parameters
JobID
intAction
EFaxJobControlActionReason
string
CreateClient(Binding, EndpointAddress)
protected override FaxPrinterGatewayFacadeClient CreateClient(Binding binding, EndpointAddress endpointAdrress)
Parameters
binding
BindingendpointAdrress
EndpointAddress
Returns
- FaxPrinterGatewayFacadeClient
EnumAttachments(int)
Return list of all attachments for specified Job. All files will be download into local file cache if nessesary
public FaxJobAttachmentList EnumAttachments(int JobID)
Parameters
JobID
intJobID
Returns
- FaxJobAttachmentList
List of FaxJobAttachments
FreeForReuse()
public override void FreeForReuse()
GetCurrentUserID()
public int GetCurrentUserID()
Returns
GetCurrentUserName()
public string GetCurrentUserName()
Returns
GetFaxJobInfo(int)
Return FaxJobEntry(Info) structure for given JobId
public FaxJobEntry GetFaxJobInfo(int JobID)
Parameters
JobID
intID of the Job
Returns
- FaxJobEntry
FaxJobEntry
GetFaxJobStatus(int)
public FaxJobStatusEntry GetFaxJobStatus(int JobID)
Parameters
JobID
int
Returns
GetFaxPrinterGatewayView(string, int)
View and function to receive all jobs which must be printed:
public FaxPrinterGatewayViewPrimaryCollection GetFaxPrinterGatewayView(string strGatewayName, int dwStatusMask)
Parameters
strGatewayName
stringName of the FaxPrinterGateway
dwStatusMask
intThis View will return summary information about all Jobs available for printing with "Status" field matching dwStatusMask. If dwStatusMask ist 0 all new Jobs will be returned.
Returns
- FaxPrinterGatewayViewPrimaryCollection
Collection of FaxJobs
GetPossibleIpPbxUserNames()
Returns all possible IpPbx User Names of the current user. Can be more than one if the current user is a windows user and multiple IppPbxUser are assigned to his windows account.
public SStringList GetPossibleIpPbxUserNames()
Returns
- SStringList
StringList
GetServerInfo()
public FaxServerInfo GetServerInfo()
Returns
GetServerRequestTimeout(FaxPrinterGatewayFacadeClient)
protected override TimeSpan GetServerRequestTimeout(FaxPrinterGatewayFacadeClient client)
Parameters
client
FaxPrinterGatewayFacadeClient
Returns
GetSupportedClientVersions()
public SStringList GetSupportedClientVersions()
Returns
HasRole(BuildInRoles)
public bool HasRole(BuildInRoles eRole)
Parameters
eRole
BuildInRoles
Returns
PingService(FaxPrinterGatewayFacadeClient)
protected override void PingService(FaxPrinterGatewayFacadeClient client)
Parameters
client
FaxPrinterGatewayFacadeClient
ReportAvailablePrinters(string, SStringList)
This function is called by Fax Printer Gateway to report all available printers (list of printer names) names visible from Fax Printer Gateway
public void ReportAvailablePrinters(string strGatewayName, SStringList aStrNames)
Parameters
strGatewayName
stringaStrNames
SStringListList of available printers