module: sockets-internals Author: Toby Weinberg Synopsis: General socket condition classes. More specific stuff is in the platform specific accessors where most errors are actually detected. Copyright: Original Code is Copyright (c) 1995-2004 Functional Objects, Inc. All rights reserved. License: Functional Objects Library Public License Version 1.0 Dual-license: GNU Lesser General Public License Warranty: Distributed WITHOUT WARRANTY OF ANY KIND ignorable(socket-condition-details, host-address-setter, host-name-setter, host-port-setter, host-port, the-closed-socket, the-closed-socket-setter, accessor-started?-value, accessor-started?-value-setter, thread-that-closed-accessor, thread-that-closed-accessor-setter, calling-thread, calling-thread-setter, calling-function-setter, , explanation-setter, protocol-name, protocol-name-setter, service-name, service-name-setter); define open /* abstract */ class () slot socket-condition-details :: , init-keyword: details:, init-value: #f; end class ; define open class (, ) end class ; define open class (, ) end class ; define open class (, ) end class; define open class () end class; define open class () end class; define open class () end class; define open class () end class; define open class () end class; define open class () slot host-address, init-keyword: bad-address:; end class; define class () slot host-name, init-keyword: host-name:; slot host-address, init-keyword: host-address:; end class; define class (, ) slot service-name, init-keyword: service:; slot protocol-name, init-keyword: protocol:; end class; define class (, ) slot host-address, init-keyword: host-address:; end class; define class (, ) slot host-address, init-keyword: host-address:; slot host-port, init-keyword: host-port:; end class; define class (, ) slot host-address, init-keyword: host-address:; slot host-port, init-keyword: host-port:; end class; define class (, ) slot host-address, init-keyword: host-address:; slot host-port, init-keyword: host-port:; end class; define class (, ) slot host-address, init-keyword: host-address:; slot host-port, init-keyword: host-port:; end class; define class (, ) slot the-closed-socket, init-keyword: socket: end class; define class (, ) slot calling-function :: , init-keyword: calling-function:; slot calling-thread :: , init-keyword: calling-thread:; slot accessor-started?-value, init-keyword: accessor-started?-value:; slot thread-that-closed-accessor, init-keyword: thread-that-closed-accessor:; end class; /* define method socket-warning(format-string :: , #rest format-arguments) => () signal(make(, format-string: format-string, format-arguments: format-arguments)) end method socket-warning; define method socket-error(format-string :: , #rest format-arguments) => () error(make(, format-string: format-string, format-arguments: format-arguments)) end method socket-error; define method print-object(condition :: , stream :: ) => () print(condition.object-class, stream); write(stream, "; "); write(stream, condition.socket-condition-message); write(stream, "."); end method print-object; define method default-handler(warning :: ) => false :: singleton(#f); write(*standard-error*, "Warning "); format(*standard-error*,"%=\n", warning); #f; end method default-handler; define method default-handler(error :: ) => false :: singleton(#f); write(*standard-error*, "Error "); format(*standard-error*,"%=\n", error); #f; end method default-handler; */