(msg_id ProtoTypeID, b []byte)
| 95 | } |
| 96 | |
| 97 | func (this *TcpConn) RpcCall(msg_id ProtoTypeID, b []byte) bool { |
| 98 | if this.IsClosed() == true { |
| 99 | return false |
| 100 | } |
| 101 | |
| 102 | wrapper := write_pool.Get().(*WriteWrapper) |
| 103 | wrapper.msg_type = 'P' |
| 104 | wrapper.msg_id = msg_id |
| 105 | wrapper.buffer = b |
| 106 | |
| 107 | return this.do_push_write(wrapper) |
| 108 | } |
| 109 | |
| 110 | func (this *TcpConn) LocalAddr() net.Addr { |
| 111 | return nil |
nothing calls this directly
no test coverage detected