Changeset 2170 for branches/blt4/p2p/handler.tcl
- Timestamp:
- Mar 30, 2011 12:34:02 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/blt4/p2p/handler.tcl
r1273 r2170 59 59 protected method finalize {protocol} 60 60 protected method dropped {cid} 61 protected method handlerType {}62 61 } 63 62 … … 196 195 append mesg "exception: $result" 197 196 } 198 log debug " [handlerType]message from [connectionName $cid]: [string trimright $request \n] $mesg"197 log debug "incoming message from [connectionName $cid]: [string trimright $request \n] $mesg" 199 198 } 200 199 } … … 237 236 catch {unset _cname($cid)} 238 237 } 239 240 # ----------------------------------------------------------------------241 # USAGE: handlerType242 #243 # Returns a descriptive string describing this handler. Derived244 # classes override this method to provide their own string. Used245 # for debug messages.246 # ----------------------------------------------------------------------247 itcl::body Handler::handlerType {} {248 return "handler"249 }
Note: See TracChangeset
for help on using the changeset viewer.