private int processOpen(WritableBuffer buffer)
{
if(_connectionEndpoint != null && _connectionEndpoint.getLocalState() != EndpointState.UNINITIALIZED && !_isOpenSent)
{
Open open = new Open();
open.setContainerId(_connectionEndpoint.getLocalContainerId());
open.setHostname(_connectionEndpoint.getHostname());
// TODO - populate;
_isOpenSent = true;
return writeFrame(buffer, 0, open, null, null);