Custom Development
Services
Web Content
Web Development
Web Hosting
Products
Contact Us
Home
Home | Products | RemoteWare® Related | RW Filters

RW Filters

BWFiltr.DLL - Writes All RemoteWare® Filter Types

The BWFiltr.DLL is an ActiveX DLL that can be used to write RemoteWare® filter files, flag files and ECF Files. All Filter types are modeled for easy use.

Example Code Report to Filter XRef

Filter Types
Supported

Supported ECFs
and Flag files

After - Since a Specified Date time
Before - Prior to a specified Date time
Between - Between selected dates and times
Last - based on last number of days and/or hours
Error - Session Error types
Message -Session status Errors
Node - Specific Client Names
Node_Group - Specify Client groups
Node_Info - "all, assignments"
Node_Status - Enabled or Disabled
Resource - RemoteWare Server resources
Session- Specify Session Names
Sess_Status - Specify Session status
TextF - Wildcard for searching File Transfer Log
WorkObject - Specify WorkObject names
WorkObject_Owner - Owner types = "user,system,rwinv,rwav"
WorkObject_Type - WorkObject Types = "Esd, Worklist"
XFER_Cmd - File Transfer type = "Get, Send, Check, Send"
XFER_Status - File Transfer status = "No Execute, successful"
Schedule Session ECF - Schedule a session
Flag - Write a Flag File

After Filter

Description: Events that occurred After the specified Date and time
Required Input: Filter File Name
Optional Input: Date Time (Date)
Default Values: Current Date and Time (Now)
Results: TIME_FILTER = AFTER, 03/31/00 14:20:59
Example Code: Call bwfiltr.After(sFileName,Now)

Top

Before Filter

Description: Events that occurred Before the specified Date and time.
Required Input: Filter File Name
Optional Input: Date Time (Date)
Default Values: Current Date and Time (Now)
Results: TIME_FILTER = BEFORE, 03/31/00 14:20:59
Example Code: Call bwfiltr.Before(sFileName,Now)

Top

Between Filter

Description: Events that occur Between the specified Dates and times
Required Input: Filter File Name, Start Date/Time (Date), End Date/Time (Date)
Optional Input:
Results: TIME_FILTER = BETWEEN, 03/31/00 14:20:59, 04/01/00 14:20:59
Example Code: Call bwfiltr.Between(sFileName, dStartDate, DateAdd("d", 1, dStartDate))

Top

Last Filter

Description: Events that occurred in the last Number of Days and/or Hours
Required Input: Filter File Name, Days (integer), Hours (integer)
Optional Input:
Results: TIME_FILTER = LAST, 2 DAYS, 2 HOURS
Example Code: Call bwfiltr.Last(sFileName, 2, 2)

Top

Error Filter

Description: Session status Errors

Required Input: Filter File Name, CSV of Error Types
Optional Input:
Results: TIME_FILTER = BETWEEN, 03/31/00 14:20:59, 04/01/00 14:20:59
Example Code:Call bwfiltr.Error(sFileName, "Undefined,No_connect")
Values: Error Types:
UNDEFINED,
NO_CONNECT
CRITICAL
TIME_OUT
LOST_CARRIER
NO_ANSWER
BUSY
NO_DIAL_TONE
MODEM_ERROR
NO_RESOURCES
INVALID_PASSWORD
INVALID_SERIAL_NUMBER
SERVER_REBOOT
INVALID_DISK_DRIVE
ESD_FAILURE
OUT_OF_RANGE
WRONG_CLIENT
UNSCHEDULED
USER_ABORT
CLIENT_SECURITY

Top

Message Filter

Description: Server Log status
Required Input: Filter File Name, CSV of Message Types
Optional Input:
Results: MESSAGE_FILTER = Fatal_Error,Error
Example Code: bwfiltr.Message(sFileName, "Fatal_Error,Error")
Values: Message Types:
Fatal_Error
Error
Debug
User
Info

Top

Node Filter

Description: List of Specific Clients
Required Input: Filter File Name, CSV listing of Clients
Optional Input:
Results: NODE_FILTER = Node 1,Node2
Example Code: Call bwfiltr.Node(sFileName, "Node 1,Node2")

Top

Node Group Filter

Description: List of Specific Clients Groups
Required Input: Filter File Name, CSV listing of Client Groups
Optional Input:
Results: NODE_GROUP_FILTER = Group 1, Group2
Example Code: Call bwfiltr.Node_Group(sFileName, "Group 1, Group2")

Top

Node Info Filter

Description: Type of Client information to return
Required Input: Filter File Name, CSV listing of Info Types
Optional Input:
Results: NODE_INFO_FILTER = Assignments, Comments
Example Code: Call bwfiltr.Node_Info(sFileName, "Assignments, Comments")
Values: Information Types:
All
Node
General
Server
Comments
Assignments

Top

Node Status Filter

Description: Client Status
Required Input: Filter File Name, CSV listing of Status
Optional Input:
Results: NODE_STATUS_FILTER = Enabled,Disabled
Example Code: Call bwfiltr.Node_Status(sFileName, "Enabled,Disabled")
Values: Information Types:
Enabled
Disabled

Top

Resoure Filter

Description: Server Resources
Required Input: Filter File Name, CSV list of resources
Optional Input:  
Results: RESOURCE_FILTER = port1,port10
Example Code Call bwfiltr.Resource(sFileName, "port1,port10")

Top

Sessions filter

Description: Sessions
Required Input: Filter File Name, CSV list of Sessions
Optional Input:  
Results: SESS_FILTER = Session 1, Session2
Example Code Call bwfiltr.Sess(sFileName, "Session 1, Session2")

Top

Session Status Filter

Description: Sessions Status Types
Required Input: Filter File Name, CSV list of Sessions Status
Optional Input:    
Results: SESS_STATUS_FILTER = Failed, Failed_Final
Example Code bwfiltr.Sess_Status(sFileName, "Failed, Failed_Final")
Values: Status Types: FAILED
FAILED_FINAL
SUCCESSFUL
COMPLETED
MISSING (Session Recovery Only)

Top

Text Filter

Description: Text to search for
Required Input: Filter File Name, Text to search for
Optional Input:  
Results: TEXT_FILTER = ***.flt**
Example Code Call bwfiltr.TextF(sFileName, "*.flt")

Top

WorkObject Filter

Description: WorkObjects
Required Input: Filter File Name, CSV list of WorkObjects
Optional Input:  
Results: WORKOBJECT_FILTER = Swo1, swo2
Example Code Call bwfiltr.WorkObject(sFileName, "Swo1, swo2"

Top

WorkObject_Owner

Description: WorkObject Owner Types
Required Input: Filter File Name, CSV list of WorkObject Owner Types
Optional Input:  
Results: WORKOBJECT_OWNER_FILTER = User,System,RWinv,RWav
Example Code Call bwfiltr.WorkObject_Owner(sFileName, "User,System,RWinv,RWav")
Values: WorkObject Owner Types: User
System
RWinv
RWav

Top

WorkObject Type

Description: WorkObject  Types
Required Input: Filter File Name, CSV list of WorkObject  Types
Optional Input:    
Results: WORKOBJECT_TYPE_FILTER = Esd, Worklist
Example Code Call bwfiltr.WorkObject_Type(sFileName, "Esd, Worklist")
Values: WorkObject Owner Types: Esd
Worklist

Top

File Tranfer (XFer) Command

Description: File Transfer command types
Required Input: Filter File Name, CSV list of File Transfer command Types
Optional Input:    
Results: XFER_CMD_FILTER = Get, Send, Check, Send
Example Code Call bwfiltr.XFER_Cmd(sFileName, "Get, Send, Check, Send")
Values: File Transfer Command Types: Get
Send
Check, Send

Top

File Transfer (XFer) Status

Description: File Transfer Status types
Required Input: Filter File Name, CSV list of File Transfer command Types
Optional Input:  
Results: XFER_STATUS_FILTER = No Execute, successful
Example Code Call bwfiltr.XFER_Status(sFileName, "No Execute, successfu
Values: File Transfer Status Types: Get
Send
Check, Send

Top

SchedSessECF

Description: Schedules a session for execution
Required Input: Filter File Name, Session Name
Optional Input: Start Date Time
CSV List of Client
CSV List of Client Groups
Next ECF FIle Name
Next ECF Error File Name
Default Values: Now
ALL_ASSIGNED (only if no groups assigned)
None
None
None
Results: TEXT_FILTER = ***.flt**
Example Code Call bwfiltr.TextF(sFileName, "*.flt")

Top

Flag

Description: Writes a flag file with the given content
Required Input: Filter File Name
Optional Input: Contents None
Example Code Call bwfiltr.Flag(sFileName, "OK")

Top

Example Code

Copyright (C) 2000 The CTS Group, Inc.
You have a royalty-free right to use, modify, reproduce and distribute the Sample Application Files (and/or any modified version) in any way you find useful, provided that you agree that The CTS Group has no warranty, obligations or liability for any Sample Application Files.

Top

RemoteWare Report to Filter XRef

Report Client
Node
Client
Group
Client
Status
Client
Info
Time Cm File
Text
Sess Msg Error
type
Resource Sess
status
SWO SWO
Owner
SWO
Type
Admin                              
Client Comm X X X                        
Client Detail X X X X                      
Client Groups   X                          
Clients X   X                        
File Transfer         X X X                
Long Distance Service Usage X       X                    
Long Distance Services                              
Messaging Listing                              
Modems                              
Port Comm                              
Ports                              
Protocols                              
Server Log         X       X            
Session Events X       X     X   X X X      
Session Log X       X     X   X X X      
Session Recovery X       X     X              
Sessions               X              
System                              
User Group Listing                              
User Listing                              
Work Objects                         X X X

 


Copyright © 2002 Booshway Enterprises, Inc. All Rights Reserved