func (p *Peer) Send(chID byte, msg interface{}) bool {
	if !p.IsRunning() {
		// see Switch#Broadcast, where we fetch the list of peers and loop over
		// them - while we're looping, one peer may be removed and stopped.
		return false
	}
	return p.mconn.Send(chID, msg)
}
func (p *Peer) Send(chID byte, msg interface{}) bool {
	if !p.IsRunning() {
		
		
		return false
	}
	return p.mconn.Send(chID, msg)
}
func ( p * Peer ) Send ( chID byte , msg interface { } ) bool { if ! p . IsRunning ( ) { // see Switch#Broadcast, where we fetch the list of peers and loop over // them - while we're looping, one peer may be removed and stopped. return false } return p . mconn . Send ( chID , msg ) }
// Send msg to the channel identified by chID byte. Returns false if the send
// queue is full after timeout, specified by MConnection.
Send msg to the channel identified by chID byte . Returns false if the send queue is full after timeout specified by MConnection .