public class GlueSimpleDirectSender extends Object implements GlueWebSocketDirectSender
Constructor and Description |
---|
GlueSimpleDirectSender() |
Modifier and Type | Method and Description |
---|---|
GlueAbstractWebSocketHandler |
getHandler()
ÀÚ½ÅÀÇ handler¸¦ return
|
void |
receiveCommand(String cmd)
Handler·ÎºÎÅÍ command¸¦ ¼ö½ÅÇÒ ¶§ È£ÃâµÊ.
|
void |
receiveDirectMessage(byte[] msg)
Handler·ÎºÎÅÍ direct message ¼ö½ÅÇÒ ¶§ È£ÃâµÊ.
|
void |
receiveDirectMessage(String msg)
Handler·ÎºÎÅÍ direct message ¼ö½ÅÇÒ ¶§ È£ÃâµÊ.
|
void |
setPropertiesMap(Map<String,String> propertiesMap) |
void |
setWebSocketHandler(GlueAbstractWebSocketHandler handler)
Message¸¦ Àü¼ÛÇÒ handler ¸¦ ¼³Á¤ÇÑ´Ù.
|
public void setWebSocketHandler(GlueAbstractWebSocketHandler handler)
GlueWebSocketDirectSender
setWebSocketHandler
in interface GlueWebSocketDirectSender
public void receiveDirectMessage(String msg)
GlueWebSocketDirectSender
receiveDirectMessage
in interface GlueWebSocketDirectSender
msg
- text messagepublic void receiveDirectMessage(byte[] msg)
GlueWebSocketDirectSender
receiveDirectMessage
in interface GlueWebSocketDirectSender
msg
- binary messagepublic void receiveCommand(String cmd)
GlueWebSocketDirectSender
receiveCommand
in interface GlueWebSocketDirectSender
cmd
- HandlerÀÇ commandpublic GlueAbstractWebSocketHandler getHandler()
GlueWebSocketDirectSender
getHandler
in interface GlueWebSocketDirectSender
Copyright © 2013–2019 POSCO ICT. All rights reserved.