com.aelitis.azureus.plugins.net.buddy
Class BuddyPluginBuddy.buddyConnection
java.lang.Object
com.aelitis.azureus.plugins.net.buddy.BuddyPluginBuddy.buddyConnection
- Enclosing class:
- BuddyPluginBuddy
protected class BuddyPluginBuddy.buddyConnection
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BuddyPluginBuddy.buddyConnection
protected BuddyPluginBuddy.buddyConnection(GenericMessageConnection _connection,
boolean _outgoing)
isConnected
protected boolean isConnected()
hasFailed
protected boolean hasFailed()
isOutgoing
protected boolean isOutgoing()
getLastActive
protected long getLastActive(long now)
sendMessage
protected void sendMessage(BuddyPluginBuddy.buddyMessage message)
throws BuddyPluginException
- Throws:
BuddyPluginException
sendCloseMessage
protected void sendCloseMessage(BuddyPluginBuddy.buddyMessage message)
isActive
public boolean isActive()
connected
public void connected()
checkTimeout
protected boolean checkTimeout(long now)
send
protected void send(BuddyPluginBuddy.buddyMessage msg)
receive
public void receive(Map data_map)
close
protected void close()
isClosing
protected boolean isClosing()
remoteClosing
protected void remoteClosing()
isRemoteClosing
protected boolean isRemoteClosing()
disconnect
protected void disconnect()
failed
public void failed(Throwable error)
getString
protected String getString()
getString
protected String getString(boolean short_form)