public abstract Write ( ByteString payload ) : bool | ||
payload | ByteString | The payload to be delivered to the remote endpoint. |
return | bool |
private void SendDisassociate(AssociationHandle wrappedHandle, DisassociateInfo info) { try { wrappedHandle.Write(_codec.ConstructDisassociate(info)); } catch (Exception ex) { throw new AkkaProtocolException("Error writing DISASSOCIATE to transport", ex); } }
private void SendHeartBeat(AssociationHandle wrappedHandle) { try { wrappedHandle.Write(_codec.ConstructHeartbeat()); } catch (Exception ex) { throw new AkkaProtocolException("Error writing HEARTBEAT to transport", ex); } }
private bool SendAssociate(AssociationHandle wrappedHandle, HandshakeInfo info) { try { return(wrappedHandle.Write(_codec.ConstructAssociate(info))); } catch (Exception ex) { throw new AkkaProtocolException("Error writing ASSOCIATE to transport", ex); } }