~vcs-imports/skycastle/trunk

« back to all changes in this revision

Viewing changes to modules/client/src/main/java/org/skycastle/client/ServerSessionHandler.java

  • Committer: zzorn
  • Date: 2008-11-10 14:55:40 UTC
  • Revision ID: vcs-imports@canonical.com-20081110145540-l1hvmkbhnd0612ws
Fixed compile: removed packages of unused code, updated to use new Darkstar API, moved external library versions to the master pom.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
import javax.swing.*;
19
19
import java.io.IOException;
20
20
import java.net.PasswordAuthentication;
 
21
import java.nio.ByteBuffer;
21
22
import java.util.Properties;
22
23
import java.util.logging.Level;
23
24
import java.util.logging.Logger;
111
112
    }
112
113
 
113
114
 
114
 
    public void receivedMessage( final byte[] serverMessage )
 
115
    public void receivedMessage( final ByteBuffer serverMessage )
115
116
    {
116
117
        try
117
118
        {
238
239
 
239
240
 
240
241
    @Override
241
 
    protected void sendEncodedMessage( final byte[] encodedMessage )
 
242
    protected void sendEncodedMessage( final ByteBuffer encodedMessage )
242
243
    {
243
244
        try
244
245
        {