Archive for August, 2009

Aug 21 2009

Snippet: Automatic Proxy Creation in Clojure

Published by tim under clojure, coding

The proxy function makes it easy for Clojure to interface with the Java layer, but I was dealing with an interface (the AIM Java API) that had an punitive number of things that needed to be overridden…

public void OnIdleStateChange(AccSession arg0, int arg1) {
}

public void OnInstanceChange(AccSession arg0, AccInstance arg1, AccInstance arg2, AccInstanceProp arg3) {
}

public void OnLookupUsersResult(AccSession [...]

6 responses so far

Next »