And then print:
print box
# =>
# ┌───────────────────────┐
# │ │
# │ │
# │ │
# │ Drawing a box in │
And then print:
print box
# =>
# ┌───────────────────────┐
# │ │
# │ │
# │ │
# │ Drawing a box in │
┌──────────────────────────────────────────────────┬────────────────────────────────────────────────────┐
│Patient App │ Dr App │
└──────────────────────────────────────────────────┴────────────────────────────────────────────────────┘
CallActivity —————————————————————————————————————————————————————————▶︎ Incoming Activity
│
┌───────────────────────────────────────────────┐ │
/ | |
// APIManager.swift | |
// iOSDuComm | |
// | |
// Created by Sufian on 20/6/19. | |
// Copyright © 2019 Abu Sufian. All rights reserved. | |
// | |
import UIKit | |
import Alamofire |
⎡‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾⎤ | |
⎢ Peer to Peer Connection ⎥ | |
⎣__________________________⎦ | |
_______________________________________________________________________ | |
Patient App | Dr App | |
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ | |
CallActivity ————————————————————————————————▶︎ Incoming Activity | |
│ | |
▼ | |
Accept Call |
####################################Doctor App ############################################################# | |
2020-03-31 12:26:09.171 32560-2012/com.doctordekhao.doctor D/SocketIo: Socket Connected | |
2020-03-31 12:26:09.171 32560-2012/com.doctordekhao.doctor D/SocketIo: Socket ID: PkvPBHzvc_e8SMLuASns | |
2020-03-31 12:26:09.410 32560-2017/com.doctordekhao.doctor D/SocketIo: Socket Reconnect | |
2020-03-31 12:26:09.414 32560-2017/com.doctordekhao.doctor D/SocketIo: Socket Connected | |
2020-03-31 12:26:09.414 32560-2017/com.doctordekhao.doctor D/SocketIo: Socket ID: njM3yhbWcDLUqUU-ASoa | |
2020-03-31 12:26:09.536 32560-2020/com.doctordekhao.doctor D/SocketIo: Socket Reconnect | |
2020-03-31 12:26:09.539 32560-2020/com.doctordekhao.doctor D/SocketIo: Socket Connected | |
2020-03-31 12:26:09.539 32560-2020/com.doctordekhao.doctor D/SocketIo: Socket ID: njM3yhbWcDLUqUU-ASoa | |
2020-03-31 12:26:10.907 32560-2022/com.doctordekhao.doctor D/SocketIo: Socket Disconnected |
Call Establishment Problem | |
——————————————————————————— | |
Patient App Dr App | |
——————————————————————————————————————————————————————————————————————— | |
CallActivity ———————————————————————————————> Incoming Activity | |
| | |
Accept Call | |
| | |
Call Activity Open | |
| |
CallStatus Related Problem | |
Patient app | Dr App | |
—————————————————————————————————————————————————————————— | |
1. Create Call ————————————————————> No Incoming Call | |
Time Out | |
Show Network Error Dialog | |
2. Create Call ————————————————————> Not Accept Call |