com.pusher.client.channel.impl
Interface InternalChannel

All Superinterfaces:
Channel, Comparable<InternalChannel>
All Known Implementing Classes:
ChannelImpl, PresenceChannelImpl, PrivateChannelImpl

public interface InternalChannel
extends Channel, Comparable<InternalChannel>


Method Summary
 ChannelEventListener getEventListener()
           
 void onMessage(String event, String message)
           
 void setEventListener(ChannelEventListener listener)
           
 String toSubscribeMessage()
           
 String toUnsubscribeMessage()
           
 void updateState(ChannelState state)
           
 
Methods inherited from interface com.pusher.client.channel.Channel
bind, getName, unbind
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

toSubscribeMessage

String toSubscribeMessage()

toUnsubscribeMessage

String toUnsubscribeMessage()

onMessage

void onMessage(String event,
               String message)

updateState

void updateState(ChannelState state)

setEventListener

void setEventListener(ChannelEventListener listener)

getEventListener

ChannelEventListener getEventListener()


Copyright © 2013 Pusher. All Rights Reserved.