Copy as Markdown
Other Tools
//
// Automatically generated by ipdlc.
// Edit at your own risk
//
#ifndef PWebSocketConnection_h
#define PWebSocketConnection_h
#include "mozilla/Attributes.h"
#include "IPCMessageStart.h"
#include "mozilla/RefPtr.h"
#include "nsString.h"
#include "nsTArray.h"
#include "nsTHashtable.h"
#include "mozilla/MozPromise.h"
#include "mozilla/OperatorNewExtensions.h"
#include "mozilla/UniquePtr.h"
#include "mozilla/ipc/ByteBuf.h"
#include "mozilla/ipc/FileDescriptor.h"
#include "mozilla/ipc/IPCForwards.h"
#include "mozilla/ipc/Shmem.h"
namespace mozilla {
namespace net {
class PWebSocketConnectionParent;
} // namespace net
} // namespace mozilla
namespace mozilla {
namespace net {
class PWebSocketConnectionChild;
} // namespace net
} // namespace mozilla
//-----------------------------------------------------------------------------
// Code common to PWebSocketConnectionChild and PWebSocketConnectionParent
//
namespace mozilla {
namespace net {
namespace PWebSocketConnection {
nsresult
CreateEndpoints(
mozilla::ipc::EndpointProcInfo aParentDestInfo,
mozilla::ipc::EndpointProcInfo aChildDestInfo,
mozilla::ipc::Endpoint<::mozilla::net::PWebSocketConnectionParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::net::PWebSocketConnectionChild>* aChild);
nsresult
CreateEndpoints(
mozilla::ipc::Endpoint<::mozilla::net::PWebSocketConnectionParent>* aParent,
mozilla::ipc::Endpoint<::mozilla::net::PWebSocketConnectionChild>* aChild);
enum MessageType {
PWebSocketConnectionStart = PWebSocketConnectionMsgStart << 16,
Msg_OnTransportAvailable__ID,
Msg_OnError__ID,
Msg_OnTCPClosed__ID,
Msg_OnDataReceived__ID,
Msg_OnUpgradeFailed__ID,
Msg_WriteOutputData__ID,
Msg_StartReading__ID,
Msg_DrainSocketData__ID,
Msg___delete____ID,
Reply___delete____ID,
PWebSocketConnectionEnd
};
mozilla::UniquePtr<IPC::Message>
Msg_OnTransportAvailable(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_OnError(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_OnTCPClosed(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_OnDataReceived(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_OnUpgradeFailed(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_WriteOutputData(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_StartReading(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg_DrainSocketData(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Msg___delete__(int32_t routingId);
mozilla::UniquePtr<IPC::Message>
Reply___delete__(int32_t routingId);
} // namespace PWebSocketConnection
} // namespace net
} // namespace mozilla
#endif // ifndef PWebSocketConnection_h