T - 要传输的数据类型public class ApplicationWebsocketTransfer<T> extends Object
| Constructor and Description |
|---|
ApplicationWebsocketTransfer() |
ApplicationWebsocketTransfer(Application scope,
String type,
T data) |
| Modifier and Type | Method and Description |
|---|---|
T |
getData() |
Application |
getScope() |
String |
getType() |
void |
setData(T data) |
void |
setScope(Application scope) |
void |
setType(String type) |
public ApplicationWebsocketTransfer()
public ApplicationWebsocketTransfer(@Nullable
Application scope,
String type,
T data)
@Nullable public Application getScope()
public void setScope(@Nullable
Application scope)
public String getType()
public void setType(String type)
public T getData()
public void setData(T data)
Copyright © 2025. All rights reserved.