Skip to content

Instantly share code, notes, and snippets.

@hconceicao
Created May 5, 2012 18:52
Show Gist options
  • Save hconceicao/2604739 to your computer and use it in GitHub Desktop.
Save hconceicao/2604739 to your computer and use it in GitHub Desktop.
type RemoteRequestListener(bindAddress:String, zContextAccessor:ZContextAccessor, kernel:IKernel) =
inherit BaseListener(zContextAccessor)
override this.GetConfig() =
let parts = bindAddress.Split(':')
new ZConfig(parts.[0], Convert.ToUInt32(parts.[1]))
thread = new Thread(() =>
{
try
{
var config = GetConfig();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment