*rename handlers to match naming scheme

This commit is contained in:
Derrick Hammer 2023-04-15 03:58:53 -04:00
parent ba38f7670f
commit 402508ca64
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 4 additions and 4 deletions

View File

@ -75,10 +75,10 @@ addHandler("socketListenEvent", handleSocketListenEvent, {
});
addHandler("socketWrite", handleWriteSocketEvent);
addHandler("socketClose", handleCloseSocketEvent);
addHandler("createProtomuxChannel", createProtomuxChannel, {
addHandler("createProtomuxChannel", handleCreateProtomuxChannel, {
receiveUpdates: true,
});
addHandler("createProtomuxMessage", createProtomuxMessage, {
addHandler("createProtomuxMessage", handleCreateProtomuxMessage, {
receiveUpdates: true,
});
addHandler("createSwarm", handleCreateSwarm);
@ -426,7 +426,7 @@ async function handleGetSocketInfo(aq: ActiveQuery) {
});
}
async function createProtomuxChannel(aq: ActiveQuery) {
async function handleCreateProtomuxChannel(aq: ActiveQuery) {
const socket = validateConnection(aq);
if (!socket) {
@ -489,7 +489,7 @@ async function createProtomuxChannel(aq: ActiveQuery) {
aq.sendUpdate(channelId);
}
async function createProtomuxMessage(aq: ActiveQuery) {
async function handleCreateProtomuxMessage(aq: ActiveQuery) {
const socket = validateConnection(aq);
if (!socket) {