public Buffer()
{
// Allocate a new Join object for this buffer
Join join = Join.Create();
// Use it to initialize the channels
join.Initialize(out Put);
join.Initialize(out Get);
// Finally, declare the patterns(s)
join.When(Get).And(Put).Do(delegate(String s) {
return s;
});
}